nginx: add section "Entrypoint quiet logs"

This commit is contained in:
Alexandre Salomé 2020-06-08 11:50:11 +02:00
parent 30c8e634a8
commit 0b5bfe28fa
1 changed files with 8 additions and 0 deletions

View File

@ -136,6 +136,14 @@ web:
command: [nginx-debug, '-g', 'daemon off;']
```
## Entrypoint quiet logs
Since version 1.19.0, a verbose entrypoint was added. It provides information on what's happening during container startup. You can silence this output by setting environment variable `NGINX_ENTRYPOINT_QUIET_LOGS`:
```console
$ docker run -d -e NGINX_ENTRYPOINT_QUIET_LOGS=1 %%IMAGE%%
```
## User and group id
Since 1.17.0, both alpine- and debian-based images variants use the same user and group ids to drop the privileges for worker processes: