Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 723 Bytes

File metadata and controls

16 lines (9 loc) · 723 Bytes

Docker-Assignment-3

Docker-Assignment-3

In this assignment, we have to push an image to "Docker Hub" & create a new container on a separate machine. Install Apache2 on this new machine.

For a complete solution, check this link: https://medium.com/devops-guides/pull-the-image-from-docker-hub-install-apache2-on-a-separate-machine-docker-assignment-3-eb4278f57f88

Step 1: Create the image of the previous assignment container.

Step 2: Push the image to the "DockerHub".

Step 3: Create an EC2 Instance & pull the image.

Step 4: Create a new container & install apache2 on this container.

Step 5: Click on "Open Address" in the "Instance" section. A default apache2 web page will be opened.