document docker's disable_log_collection flag

This commit is contained in:
Mahmood Ali
2020-01-29 09:47:35 -05:00
parent afa26a864c
commit 70b0ec9e05

View File

@@ -719,6 +719,11 @@ plugin "docker" {
`cert` and `key` to use a TLS client to connect to the docker daemon.
`endpoint` must also be specified or this setting will be ignored.
* `disable_log_collection` - Defaults to `false`. Setting this to true will
disable Nomad logs collection of Docker tasks. If you don't rely on nomad log
capabilities and exclusively use host based log aggregation, you may consider
this option to disable nomad log collection overhead.
* `gc` stanza:
* `image` - Defaults to `true`. Changing this to `false` will prevent Nomad
from removing images from stopped tasks.