Skip to content

Instantly share code, notes, and snippets.

@kireal
Created November 6, 2014 19:55
Show Gist options
  • Save kireal/faa8b645c3dfd213f755 to your computer and use it in GitHub Desktop.
Save kireal/faa8b645c3dfd213f755 to your computer and use it in GitHub Desktop.
Remove all docker containers
docker rm $(docker ps -a | grep -v NAMES | awk '{print $1}')
@kireal
Copy link
Author

kireal commented Nov 6, 2014

It deletes all non running containers.

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