To stop all currently running containers in Docker you can use this terminal command:
$ docker stop $(docker ps -a -q)