Answers for "stop and remove all containers command"

20

docker delete all containers

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

docker remove all containers

docker rm $(docker ps -a -q)
Posted by: Guest on February-24-2020

Code answers related to "stop and remove all containers command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language