Skip to content

visaltyagi/Docker-Assignment-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Docker-Assignment-1

Docker-Assignment-1

In this assignment, we have to create a container on port 80 & install apache2 on it.

For a complete solution, check this link: https://medium.com/devops-guides/create-a-container-on-ubuntu-install-apache2-on-it-docker-assignment-1-ae87240a0f22

Step 1: Create an EC2 Instance.

Step 2: Install Docker on the EC2 Instance.

Step 3: Create a Container using the "docker run" command on port 80.

Step 4: Go inside the container & install apache2 here.

Step 5: Check the status & your apache2 web page will be successfully installed inside the container.