Last active
August 19, 2020 15:42
-
-
Save echohack/1e7b5ff436247a59792eb9f81633949c to your computer and use it in GitHub Desktop.
Nuke docker cache from orbit - Orbital Whale Nuke
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
alias docker_clean_images='docker rmi -f $(docker images -a)' | |
alias docker_clean_ps='docker rm $(docker ps --filter=status=exited --filter=status=created -q)' | |
docker kill $(docker ps -q) | |
docker_clean_ps | |
docker rmi $(docker images -a -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment