Skip to content

Instantly share code, notes, and snippets.



Last active Dec 15, 2017
What would you like to do?
alias docker-cleanup='docker ps -a -q | xargs -I {} docker rm {} ; docker images -q -f dangling=true | xargs -I {} docker rmi -f {}; docker volume ls -qf dangling=true | xargs -I {} docker volume rm {}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment