docker-compose ps [service...]

List containers

Arguments

NameDescription
service

Options

NameDescription
--all, -aShow all stopped containers (including those created by the run command)
--filter <filter>Filter services by a property (supported filters: status)
--format <format>Format the output. Values: [pretty | json]
--quiet, -qOnly display IDs
--servicesDisplay services
--status <status>
  • Repeatable ♾