Created
March 8, 2018 08:39
-
-
Save c0ze/7c41b7827a029b49d5da77f9239a553c to your computer and use it in GitHub Desktop.
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
DOCKER=`which docker` | |
$DOCKER rm -v $($DOCKER ps -a -q -f status=exited) | |
$DOCKER rmi $($DOCKER images -f "dangling=true" -q) | |
$DOCKER volume rm $($DOCKER volume ls -qf dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment