mirror of https://github.com/docker/compose.git
Explain `--filter` in `ps`
Explain `--filter` option of compse `ps` in more detail. Signed-off-by: Iaroslav Sheptykin <i.sheptykin@neusta.de>
This commit is contained in:
parent
2011bc3cea
commit
cd97ac0fc1
|
@ -778,7 +778,9 @@ class TopLevelCommand:
|
||||||
Options:
|
Options:
|
||||||
-q, --quiet Only display IDs
|
-q, --quiet Only display IDs
|
||||||
--services Display services
|
--services Display services
|
||||||
--filter KEY=VAL Filter services by a property
|
--filter KEY=VAL Filter services by a property. KEY is either:
|
||||||
|
1. `source` with values `image`, or `build`;
|
||||||
|
2. `status` with values `running`, `stopped`, `paused`, or `restarted`.
|
||||||
-a, --all Show all stopped containers (including those created by the run command)
|
-a, --all Show all stopped containers (including those created by the run command)
|
||||||
"""
|
"""
|
||||||
if options['--quiet'] and options['--services']:
|
if options['--quiet'] and options['--services']:
|
||||||
|
|
Loading…
Reference in New Issue