From af48c0844d98ee336fbf13f96624112d34d3b588 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 6 Dec 2019 01:12:14 +0000 Subject: [PATCH] Run update.sh --- httpd/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/httpd/README.md b/httpd/README.md index d97f852c6..3865339f0 100644 --- a/httpd/README.md +++ b/httpd/README.md @@ -82,7 +82,13 @@ $ docker run -dit --name my-apache-app -p 8080:80 -v "$PWD":/usr/local/apache2/h ### Configuration -To customize the configuration of the httpd server, just `COPY` your custom configuration in as `/usr/local/apache2/conf/httpd.conf`. +To customize the configuration of the httpd server, first obtain the upstream default configuration from the container: + +```console +$ docker run --rm httpd:2.4 cat /usr/local/apache2/conf/httpd.conf > my-httpd.conf +``` + +You can then `COPY` your custom configuration in as `/usr/local/apache2/conf/httpd.conf`: ```dockerfile FROM httpd:2.4