An open API service indexing awesome lists of open source software.

https://github.com/visaltyagi/docker-assignment-3

How to Pull the Image from DockerHub & Install Apache2 on a Separate Machine — Docker Assignment 3
https://github.com/visaltyagi/docker-assignment-3

apache2 apache2-docker aws docker docker-image dockercontainer dockerhub dockerhub-image installation

Last synced: 7 months ago
JSON representation

How to Pull the Image from DockerHub & Install Apache2 on a Separate Machine — Docker Assignment 3

Awesome Lists containing this project

README

          

# 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.