Run update.sh

This commit is contained in:
Docker Library Bot 2019-12-06 01:12:14 +00:00
parent 06be3e8f2a
commit af48c0844d
1 changed files with 7 additions and 1 deletions

View File

@ -82,7 +82,13 @@ $ docker run -dit --name my-apache-app -p 8080:80 -v "$PWD":/usr/local/apache2/h
### Configuration ### 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 ```dockerfile
FROM httpd:2.4 FROM httpd:2.4