Skip to content
masterclass Buddy

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.

Subscribe
  • docker compose up
  • docker compose down
  • docker compose logs
  • --filter status=<status>
  • jq

Source: docker compose ps. Checked 2026-11-03.