1
0
mirror of https://github.com/bregman-arie/devops-exercises.git synced 2024-11-24 08:22:12 +02:00
devops-exercises/scenarios/write_dockerfile_run_container.md
2019-10-30 21:31:25 +02:00

502 B

Write a Dockerfile and run a container

Your task is as follows:

  1. Create a Docker image:
  • Use centos or ubuntu as the base image
  • Install apache web server
  • Deploy any web application you want
  • Add https support (using HAProxy as reverse-proxy)))
  1. Once you wrote the Dockerfile and created an image, run the container and test the application. Describe how did you test it and provide output
  2. Describe one or more weakness of your Dockerfile. Is it ready to be used in production?