Docker Command To Stop All Running Containers


To stop all currently running containers in Docker you can use this terminal command:

$ docker stop $(docker ps -a -q)