Created
September 1, 2017 02:14
-
-
Save osiyuk/12b223532eb8ac21b25283159c3147b1 to your computer and use it in GitHub Desktop.
Revisions
-
osiyuk created this gist
Sep 1, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #!/bin/bash GARBAGE="/var/lib/docker/aufs/diff" du -hd 1 $GARBAGE | sort -hrk 1 | head -25 find $GARBAGE -maxdepth 1 -name *-removing -exec rm -rf '{}' \;