Run update.sh

This commit is contained in:
Docker Library Bot 2022-09-22 16:13:56 -07:00
parent 7e5fea0271
commit ccf30b0665
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ This behavior can be changed via the following environment variables:
## Running nginx in read-only mode
To run nginx in read-only mode, you will need to mount a Docker volume to every location where nginx writes information. The default nginx configuration requires write access to `/var/cache` and `/var/run`. This can be easily accomplished by running nginx as follows:
To run nginx in read-only mode, you will need to mount a Docker volume to every location where nginx writes information. The default nginx configuration requires write access to `/var/cache/nginx` and `/var/run`. This can be easily accomplished by running nginx as follows:
```console
$ docker run -d -p 80:80 --read-only -v $(pwd)/nginx-cache:/var/cache/nginx -v $(pwd)/nginx-pid:/var/run nginx