Answers for "stop all docker containers on docker hub"

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
4

docker stop all containers

docker stop $(docker ps -a -q)
Posted by: Guest on January-02-2021

Code answers related to "stop all docker containers on docker hub"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language