Docker Command To Stop All Current Running Containers


Use this command to stop all current running docker containers at the same time with just one command:

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