Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

visaltyagi/Docker-Assignment-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

Docker-Assignment-5

Docker-Assignment-5

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/replace-the-apache-default-web-page-with-sample-html-file-inside-container-docker-assignment-5-9a835b8fb20c

Step 1: Create the EC2 Instance & Install Docker on this instance.

Step 2: Create an index.html file.

Step 3: Add index.html file in the Dockerfile using the ADD command.

Step 4: Create an image using the Dockerfile.

Step 5: Create a container & map this container on port 89. The container will be successfully created if the Dockerfile is correct.

Step 6: Open the Public IP Address with Port no 89, your index.html file content will be shown on the web page in the browser.

About

How to Replace the Apache Default Web Page With Sample HTML File Inside Container - Docker Assignment 5

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /