Docker: How to List Running and Stopped Containers

Updated: November 2, 2021 By: A Goodman Post a comment

In order to view running Docker containers on your machine, you can use the following command:

docker container ls

You will see something like this:

To list both running and stopped containers, you can add -a flag:

docker container ls -a

Further reading:

You can also check out our Docker topic page for the latest tutorials, examples, tips, and tricks.

Notify of
Inline Feedbacks
View all comments

Related Articles