mirror of https://github.com/docker/docs.git
37 lines
960 B
YAML
37 lines
960 B
YAML
command: docker ps
|
|
short: List containers
|
|
long: |
|
|
Alias for `docker container ls`.
|
|
usage: docker ps [OPTIONS]
|
|
pname: docker
|
|
plink: docker.yaml
|
|
options:
|
|
- option: all
|
|
shorthand: a
|
|
default_value: "false"
|
|
description: Show all containers (default shows just running)
|
|
- option: filter
|
|
shorthand: f
|
|
description: Filter output based on conditions provided
|
|
- option: format
|
|
description: Pretty-print containers using a Go template
|
|
- option: last
|
|
shorthand: "n"
|
|
default_value: "-1"
|
|
description: Show n last created containers (includes all states)
|
|
- option: latest
|
|
shorthand: l
|
|
default_value: "false"
|
|
description: Show the latest created container (includes all states)
|
|
- option: no-trunc
|
|
default_value: "false"
|
|
description: Don't truncate output
|
|
- option: quiet
|
|
shorthand: q
|
|
default_value: "false"
|
|
description: Only display numeric IDs
|
|
- option: size
|
|
shorthand: s
|
|
default_value: "false"
|
|
description: Display total file sizes
|