Answers for "stop docker linux"

20

docker stop all containers

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

how to stop docker in ubuntu

sudo systemctl stop docker
#To stop docker from terminal.
Posted by: Guest on December-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language