To stop all running containers type:
# docker stop $(docker ps -a -q)
To remnove all stopped containers type:
# docker rm $(docker ps -a -q)
Similar Posts:
- How to remove docker image
- How to install docker on debian 10 /11 ( buster / bullseye )
- Docker: Launching a Container from an Image
- Installing Docker on Ubuntu-18.04!
- How to install docker on Debian 9 Stretch
823