Skip to content

Instantly share code, notes, and snippets.

@AhmedKammorah
Created November 14, 2015 23:44
Show Gist options
  • Save AhmedKammorah/64a82c6b3b7d7f05d695 to your computer and use it in GitHub Desktop.
Save AhmedKammorah/64a82c6b3b7d7f05d695 to your computer and use it in GitHub Desktop.
Docker stop and remove all containers
# Docker stop and remove all containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment