Answers for "stop and remove all containers command windows"

20

docker delete all containers

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

docker remove all containers

docker rm -f $(docker ps -aq)
Posted by: Guest on July-16-2021

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language