Docker Archive
How to list stopped docker containers?
July 10, 2018
No Comments
If we want to see, which docker containers are stopped or we need to find ID of container, which we want to start, we could do that: docker ps --filter "status=exited" or docker ps -f "status=exited"
How to stop / remove all Docker containers
December 20, 2017
No Comments
If you want to stop all running Docker containers you should execute command in terminal: docker stop $(docker ps -a -q) If you want to remove all Docker containers you should execute command in terminal: docker rm $(docker ps -a -q)