How to Use the Apache httpd Docker Official Image

preview_player
Показать описание

The quickest way to leverage the httpd Official Docker Image is to visit Docker Hub, copy the `docker pull httpd` command into your terminal, and run it. This downloads each package and dependency within your image before automatically adding it into Docker Desktop:

Some key things happened while we verified that httpd is working correctly in this video:

1. We pulled our httpd image using the `docker pull httpd` command.
2. We found our image in Docker Desktop in the Images pane, chose “Run,” and expanded the Optional settings pane. We named our image so it’s easy to find, and entered 8080 as the host port before clicking “Run” again.
3. Desktop took us directly into the Containers pane, where our named container, `TestApache`, was running as expected.
--
Join the conversation!
Рекомендации по теме
Комментарии
Автор

Hot to get acces to the /htdocs/ folder? This most important part I miss. Thanks.

Gukerl
join shbcf.ru