misc/docker: add dkl, dkcl, dkclr, & dke aliases
This commit is contained in:
parent
64aad58d58
commit
9606cc70a6
|
@ -3,6 +3,17 @@ alias docker-compose='sudo docker-compose'
|
|||
|
||||
alias dkc=docker-compose
|
||||
alias dkm=docker-machine
|
||||
alias dkl='dk logs'
|
||||
alias dkcl='dkc logs'
|
||||
|
||||
dkclr() {
|
||||
dk stop $(docker ps -a -q)
|
||||
dk rm $(docker ps -a -q)
|
||||
}
|
||||
|
||||
dke() {
|
||||
dk exec -it "$1" "${@:1}"
|
||||
}
|
||||
|
||||
dk() {
|
||||
case $(_os) in
|
||||
|
|
Loading…
Reference in a new issue