1
0
mirror of https://github.com/docker/cli.git synced 2025-08-08 12:02:07 +03:00

Add a new "is-task" ps filter

This makes it easier to list containers that are part of a task
(swarm mode) and those who are not.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2016-09-28 12:45:30 +02:00
committed by Tibor Vass
parent 247a2f112b
commit cd547751df
4 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ Options:
- since=(<container-name>|<container-id>)
- ancestor=(<image-name>[:tag]|<image-id>|<image@digest>)
containers created from an image or a descendant.
- is-task=(true|false)
--format string Pretty-print containers using a Go template
--help Print usage
-n, --last int Show n last created containers (includes all states) (default -1)