Skip to content

Instantly share code, notes, and snippets.

@willmenn
Last active September 6, 2018 14:09
Show Gist options
  • Save willmenn/1cd1de8710156833a64aafbecf662aed to your computer and use it in GitHub Desktop.
Save willmenn/1cd1de8710156833a64aafbecf662aed to your computer and use it in GitHub Desktop.
How to Stop all the Docker containers at once

I found this in the internet, and I want to share, because sometimes we have a lot of containers in place and we need to stop them, the command for that is this one:

$ docker kill $(docker ps -q)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment