Docker / Compose

Docker / Compose: docker ps -a — Windows

List all containers.

Availability: Third-party software; install and version dependent.中文

Syntax

docker ps -a

Examples

List all containers.

docker ps -a

Parameters, options and clauses

Option / clauseDescription
-a, --allShow all containers, including stopped containers.
-q, --quietPrint container IDs only.
--filter <key=value>Filter containers by status, name, label or another supported field.
--format <template>Format output using a Go template.
Safety note

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.

Official reference ↗Back to directory