List containers
docker ps [OPTIONS]
| Name, shorthand | Default | Description |
|---|---|---|
--all, -a |
false |
Show all containers (default shows just running) |
--filter, -f |
Filter output based on conditions provided | |
--format |
Pretty-print containers using a Go template | |
--last, -n |
-1 |
Show n last created containers (includes all states) |
--latest, -l |
false |
Show the latest created container (includes all states) |
--no-trunc |
false |
Don’t truncate output |
--quiet, -q |
false |
Only display numeric IDs |
--size, -s |
false |
Display total file sizes |
| Command | Description |
|---|---|
| docker | The base command for the Docker CLI. |
Alias for docker container ls.
Feedback? Suggestions? Can't find something in the docs?