Answers for "docker - destroy all containers"

20

docker delete all containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Posted by: Guest on May-10-2020
2

docker delete all containers

sudo docker stop $(docker ps -a -q)
sudo docker rm $(docker ps -a -q)
Posted by: Guest on December-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language