Add list of possible container states to docker docs (#6099)

This commit is contained in:
kden416 2019-07-16 03:10:42 +03:00 committed by Daniel Nelson
parent f22f12c99e
commit 169fd64788
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ to gather stats from the [Engine API](https://docs.docker.com/engine/api/v1.24/)
## Container states to include and exclude. Globs accepted. ## Container states to include and exclude. Globs accepted.
## When empty only containers in the "running" state will be captured. ## When empty only containers in the "running" state will be captured.
## example: container_state_include = ["created", "restarting", "running", "removing", "paused", "exited", "dead"]
## example: container_state_exclude = ["created", "restarting", "running", "removing", "paused", "exited", "dead"]
# container_state_include = [] # container_state_include = []
# container_state_exclude = [] # container_state_exclude = []

View File

@ -96,6 +96,8 @@ var sampleConfig = `
## Container states to include and exclude. Globs accepted. ## Container states to include and exclude. Globs accepted.
## When empty only containers in the "running" state will be captured. ## When empty only containers in the "running" state will be captured.
## example: container_state_include = ["created", "restarting", "running", "removing", "paused", "exited", "dead"]
## example: container_state_exclude = ["created", "restarting", "running", "removing", "paused", "exited", "dead"]
# container_state_include = [] # container_state_include = []
# container_state_exclude = [] # container_state_exclude = []