Created
July 6, 2016 11:40
-
-
Save pi0/72e6ce42de8880d4ff694a71384cb28c to your computer and use it in GitHub Desktop.
Cleanup Docker Storage
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
# http://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device | |
## Delete the orphaned volumes in Docker | |
docker volume rm $(docker volume ls -qf dangling=true) | |
## Remove all the unused Images. | |
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment