CmdID

CmdID / docker / docker compose

docker compose ps

Lists containers for a Compose project, with current status and exposed ports. Docker Compose reference

9 options Its page in the Docker Compose reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

9 in the Docker Compose reference
--all, -aShow all stopped containers (including those created by the run command)
--dry-runExecute command in dry run mode
--filterFilter services by a property (supported filters: status)
--formatFormat output using a custom template: 'table': Print output in table format with column headers (default) 'table TEMPLATE': Print output in table format using the given Go template 'json': Print in JSON format 'TEMPLATE': Print output using the given Go template.
--no-truncDon't truncate output
--orphansInclude orphaned services (not declared by project)
--quiet, -qOnly display IDs
--servicesDisplay services
--statusFilter services by status.