Last active
December 7, 2015 13:46
-
-
Save vallettea/14ae0c25abd76782d8f9 to your computer and use it in GitHub Desktop.
Clean docker
This file contains hidden or 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
| ## to check file and directories that are taking place | |
| cd /path/to/some/where | |
| $ du -hsx * | sort -rh | head -10 | |
| docker rm -v (docker ps -a | grep Exited | awk '{print $1}') | |
| docker rmi (docker images -aq) | |
| ## to clean orphaned volumes | |
| https://github.com/chadoe/docker-cleanup-volumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment