more docker aliases

This commit is contained in:
Matthew Adams
2018-11-20 07:59:16 -06:00
parent 8feebc0aa9
commit 05529dbd6b

View File

@@ -26,6 +26,10 @@ 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
alias dkri='docker run --rm -i '
alias dkrit='docker run --rm -it '
alias dkalp='docker run --rm -it alpine'
alias dkubu='docker run --rm -it ubuntu'
# Added more recent cleanup options from newer docker versions
alias dkip='docker image prune -a -f'