diff --git a/misc/docker/aliases.zsh b/misc/docker/aliases.zsh index 44e8b859..3fbeb563 100644 --- a/misc/docker/aliases.zsh +++ b/misc/docker/aliases.zsh @@ -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