Added more recently available docker cleanup commands

This commit is contained in:
Matthew Bates
2018-10-31 08:07:57 +00:00
parent 82776162d1
commit f41324251f

View File

@@ -26,3 +26,8 @@ alias dkideps='docker-image-dependencies' # Output a graph of image dependencie
alias dkre='docker-runtime-environment' # List environmental variables of the supplied image ID
alias dkelc='docker exec -it `dklcid` bash' # Enter last container (works with Docker 1.3 and above)
alias dkex='docker exec -it ' # Useful to run any commands into container without leaving host
# Added more recent cleanup options from newer docker versions
alias dkip=`docker image prune -a -f`
alias dkvp=`docker volume prune -f`
alias dksp=`docker system prune -a -f`