Merge pull request #1257 from LinkMJB/docker

Added more recently available docker cleanup commands
pull/1258/head
Nils Winkler 2018-10-31 16:13:48 +01:00 committed by GitHub
commit 73af202a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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`