Command

Docker List All Containers Command

The Docker command to list all containers is docker ps -a.

Quick Answer

Command
docker ps -a
DockerCommand

List All Containers

Type this command
docker ps -a

Shows running containers plus the ones that have stopped.

Learn More

How to list all containers in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker ps -a, replace any placeholders, and run it.

Docker List All Containers Command

Run docker ps -a.

Related Commands

Frequently asked questions

What is the Docker command to list all containers?

Run docker ps -a.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify