Categories
Software Development

How to list all stopped and running Docker containers

I often need to do this but forget exactly how to do this. I don’t know if this has changed. I could swear it has changed.

You will probably find crap all over the internet telling you to use

docker ps

But that only lists running containers. Same story for

docker container ls

So how do you get docker to list all the damn containers?

docker ps -a
homer simpson meme
You got to strangle docker for the truth about containers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.