Skip to content

Instantly share code, notes, and snippets.

@RickyAvina
Created June 30, 2017 15:54
Show Gist options
  • Save RickyAvina/24d8dd4980a885f4fccc3c46ab61f7b8 to your computer and use it in GitHub Desktop.
Save RickyAvina/24d8dd4980a885f4fccc3c46ab61f7b8 to your computer and use it in GitHub Desktop.
Kills and Removes all Docker instances. Great for naming conflicts or old 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