Skip to content

Instantly share code, notes, and snippets.

@brianarn
Created August 22, 2016 17:09
Show Gist options
  • Save brianarn/00b1cf012b8c6e814749c6972b733158 to your computer and use it in GitHub Desktop.
Save brianarn/00b1cf012b8c6e814749c6972b733158 to your computer and use it in GitHub Desktop.
Random Docker things

As I learn about Docker and put together some things, I want to capture things in a place I can easily find later.

# Find and blow out dangling (orphaned) Docker volumes
# VERY RISKY AND DESTRUCTIVE but probably okay
docker volume ls -f dangling=true | grep local | awk '{print $2}' | xargs docker volume rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment