Merge pull request #1257 from LinkMJB/docker

Added more recently available docker cleanup commands
This commit is contained in:
Nils Winkler
2018-10-31 16:13:48 +01:00
committed by GitHub

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`