Docker-Assignment-4
In this assignment, we have installed Apache2 on the EC2 instance using the Dockerfile
For a complete solution, check this link: https://medium.com/devops-guides/create-a-docker-file-which-installs-apache2-automatically-after-running-the-container-a06594be152c
Step 1: Create the EC2 Instance.
Step 2: Create a Dockerfile
Step 3: Create a Docker Image
Step 4: Create a new container & apache2 is automatically installed now.
Step 5: Click on "Open Address" in the "Instance" section. A default apache2 web page will be opened.