Show the status of Docker Compose services
docker compose ps | check status of compose services | docker compose show stopped containers | docker | compose | statusdocker compose -f /opt/app/compose.yaml ps -aLists only the containers that belong to this Compose project, with service name, status and ports. With -a, exited containers appear too, so a crashed service does not simply vanish from the list. Inside the project directory, -f can be omitted.
Note: docker compose (with a space) is Compose v2 and comes with Docker from the official repository as the docker-compose-plugin package, on Ubuntu 24.04 also as docker-compose-v2. The Debian 12 package docker.io does not include it.
Also searched as
- docker compose ps
- check status of compose services
- docker compose show stopped containers