Answers for "stop all docker containers command"

20

stop all container in docker

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

stop all docker containers

docker kill $(docker ps -q)
Posted by: Guest on August-24-2021

Code answers related to "stop all docker containers command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language