Skip to content

Instantly share code, notes, and snippets.

@keopx
Created April 28, 2016 07:08
Show Gist options
  • Save keopx/108d02fab70a2114c999246ffd9c9b92 to your computer and use it in GitHub Desktop.
Save keopx/108d02fab70a2114c999246ffd9c9b92 to your computer and use it in GitHub Desktop.
Docker stop all containers
# Stop all docker container
function docker-stop-all() {
docker stop $(docker ps -a -q)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment