devops-exercises/exercises/containers/write_containerfile_run_container.md

12 lines
498 B
Markdown
Raw Normal View History

# Write a Containerfile and run a container
## Objectives
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)
2. Once you wrote the Containerfile and created an image, run the container and test the application. Describe how did you test it and provide output
3. Describe one or more weakness of your Containerfile. Is it ready to be used in production?