Browse Source

nginx: add section "Entrypoint quiet logs"

Alexandre Salomé 5 years ago
parent
commit
0b5bfe28fa
1 changed files with 8 additions and 0 deletions
  1. 8 0
      nginx/content.md

+ 8 - 0
nginx/content.md

@@ -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: