Added more recently available docker cleanup commands
parent
82776162d1
commit
f41324251f
|
|
@ -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 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 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
|
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`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue