Configuring Web Server on Docker

Vinay Jadhav
Nov 2, 2020

Hi, in this article you will learn about how to configure a httpd Web Server on top of docker.

Let’s Start

  1. Start Docker

2. Download an OS image

3. Launch the container

4. Install Apache httpd server (Make sure that you have stop the firewall in the Base OS)

5. Now enable the httpd Service

6. Install net-tools using yum command

7. Go to /var/www/html directory

8. Create a html file

9. Done, now access the html file from the browser.

Accessing file from browser

That’s all!!

Thank you for reading!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response