iTranslated by AI
Setting up a Web Server with httpd on Docker Desktop
We will set up a web server on Docker Desktop using httpd, the daemon process of Apache HTTP Server.
Environment
- Windows 11 Pro 25H2
- Docker Desktop v4.52.0
- httpd
Search for httpd on Docker Hub and Run

Select Docker Hub from the left menu in Docker Desktop.

Searching for httpd will reveal the official Image, so select it.

Select the version and click the Run button.
The image will then be pulled.

Configure the Container name and port, then click Run.
In this case, the port was set to 8080.
When you Run it, the container starts.
Accessing from the Browser

Access localhost:8080 in your browser. If it has started successfully, you will see "It works!".
The actual index.html is located at usr/local/apache2/htdocs/ within the container, so once you have prepared the content you want to display, place it in this directory.
That's all.
I think it would be useful to create something like a management screen for a home server.
Discussion