more docker aliases

pull/1274/head
Matthew Adams 2018-11-20 07:59:16 -06:00
parent 8feebc0aa9
commit 05529dbd6b
1 changed files with 4 additions and 0 deletions

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 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
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 # Added more recent cleanup options from newer docker versions
alias dkip='docker image prune -a -f' alias dkip='docker image prune -a -f'