Quick command to stop all docker container

These are the commands to use when you want to stop all your docker containers.

On MacOS/Linux:

For Windows:

Sources:

  • https://coderwall.com/p/ewk0mq/stop-remove-all-docker-containers
  • https://gist.github.com/ngpestelos/4fc2e31e19f86b9cf10b