helm/docker/aliases.zsh
2016-12-24 19:14:40 -05:00

14 lines
289 B
Bash

case "$OSTYPE" in
darwin*)
alias dkm='docker-machine'
alias dki='eval $(docker-machine env)'
;;
linux*)
alias docker='sudo docker'
alias dki='sudo systemctl start docker.service'
;;
esac
alias dk='docker'
alias dkc='docker-compose'