kkreft
1/5/2017 - 8:19 AM

Docker aliases and functions

Docker aliases and functions

dup() {
  command docker-compose -f docker-compose.dev.yml -f docker-compose.yml up -d
  command docker-compose -f docker-compose.dev.yml -f docker-compose.yml ps
}

drestart() {
  command docker-compose -f docker-compose.dev.yml -f docker-compose.yml restart
  command docker-compose -f docker-compose.dev.yml -f docker-compose.yml ps
}

alias dps='docker-compose -f docker-compose.dev.yml -f docker-compose.yml ps'
alias dstop='docker-compose -f docker-compose.dev.yml -f docker-compose.yml stop'
alias doc='docker-compose -f docker-compose.dev.yml -f docker-compose.yml'