add current working directory as a volume
parent
eab3f6c469
commit
8ccfbd7e0f
|
|
@ -33,7 +33,9 @@ alias dkrmflast='docker rm -f $(dklcid)'
|
||||||
alias dkbash='dkelc'
|
alias dkbash='dkelc'
|
||||||
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 dkri='docker run --rm -i '
|
||||||
|
alias dkric='docker run --rm -i -v $PWD:/cwd -w /cwd '
|
||||||
alias dkrit='docker run --rm -it '
|
alias dkrit='docker run --rm -it '
|
||||||
|
alias dkritc='docker run --rm -it -v $PWD:/cwd -w /cwd '
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue