2022-07-11 00:33:26 +02:00
|
|
|
# Write a Containerfile and run a container
|
|
|
|
|
|
|
|
## Objectives
|
|
|
|
|
2022-09-23 09:47:21 +02:00
|
|
|
1. Create an image:
|
2022-07-11 00:33:26 +02:00
|
|
|
* 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?
|