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
- Host: GitHub
- URL: https://github.com/visaltyagi/docker-assignment-3
- Owner: visaltyagi
- Created: 2024-04-26T06:50:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T09:54:12.000Z (about 1 year ago)
- Last Synced: 2025-02-07T20:45:19.358Z (about 1 year ago)
- Topics: apache2, apache2-docker, aws, docker, docker-image, dockercontainer, dockerhub, dockerhub-image, installation
- Homepage: https://medium.com/devops-guides/pull-the-image-from-docker-hub-install-apache2-on-a-separate-machine-docker-assignment-3-eb4278f57f88
- Size: 511 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.