https://github.com/visaltyagi/docker-assignment-4
How to Create a Dockerfile Which Installs Apache2 Automatically After Running the Container— Docker Assignment 4
https://github.com/visaltyagi/docker-assignment-4
apache2 assignments container docker dockercontainers dockerfile dockerfiles-linux dockerimages
Last synced: 11 months ago
JSON representation
How to Create a Dockerfile Which Installs Apache2 Automatically After Running the Container— Docker Assignment 4
- Host: GitHub
- URL: https://github.com/visaltyagi/docker-assignment-4
- Owner: visaltyagi
- Created: 2024-04-27T08:57:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T10:32:09.000Z (about 1 year ago)
- Last Synced: 2025-02-07T20:45:19.131Z (about 1 year ago)
- Topics: apache2, assignments, container, docker, dockercontainers, dockerfile, dockerfiles-linux, dockerimages
- Language: Dockerfile
- Homepage: https://medium.com/devops-guides/create-a-docker-file-which-installs-apache2-automatically-after-running-the-container-a06594be152c
- Size: 203 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-Assignment-4
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.