As I learn about Docker and put together some things, I want to capture things in a place I can easily find later.
Created
August 22, 2016 17:09
-
-
Save brianarn/00b1cf012b8c6e814749c6972b733158 to your computer and use it in GitHub Desktop.
Random Docker things
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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