mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Merge pull request #8644 from yariksheptykin/patch-1
Explain `--filter` in `ps`
This commit is contained in:
commit
6eb51d3b5b
@ -778,7 +778,9 @@ class TopLevelCommand:
|
||||
Options:
|
||||
-q, --quiet Only display IDs
|
||||
--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)
|
||||
"""
|
||||
if options['--quiet'] and options['--services']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user