Add list of possible container states to docker docs (#6099)
This commit is contained in:
parent
f22f12c99e
commit
169fd64788
|
@ -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 = []
|
||||||
|
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue