Docker · Command
docker compose ps
Lists containers in a Compose project and shows their current status and exposed ports. It shows running containers by default, with options for stopped containers, filtering, and custom output.
Last updated
Syntax
docker compose ps [OPTIONS] [SERVICE...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
docker compose updocker compose downdocker compose logs--filter status=<status>jq