Docker: How to List Running and Stopped Containers

Last updated on November 2, 2021 A Goodman Loading... 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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

You May Also Like