Docker: List Running Containers

By default, the docker ps command lists only running Docker containers.

With the specific options it is possible to list all Docker containers or filter output by the stopped containers only.

Below you will find how to check running Docker containers, how to list stopped Docker containers and how to list all Docker containers.

Cool Tip: Clean up a Docker host by removing unused Docker containers! Read More →

List Running Docker Containers

To list running Docker containers, execute the following command:

$ docker ps

List Stopped Docker Containers

To show only stopped Docker containers, run:

$ docker ps --filter "status=exited"

– or –

$ docker ps -f "status=exited"

List All Docker Containers

To show all Docker containers, run:

$ docker ps -a

– or –

$ docker ps --all