List all containers.
docker ps -aList all containers.
docker ps -aList all containers.
docker ps -a| Option / clause | Description |
|---|---|
-a, --all | Show all containers, including stopped containers. |
-q, --quiet | Print container IDs only. |
--filter <key=value> | Filter containers by status, name, label or another supported field. |
--format <template> | Format output using a Go template. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.