2016-09-14 15:49:50 +08:00
|
|
|
# Authors:
|
|
|
|
# https://github.com/tristola
|
|
|
|
#
|
|
|
|
# Docker-compose related zsh aliases
|
|
|
|
|
|
|
|
# Aliases ###################################################################
|
|
|
|
|
2016-09-28 20:47:00 +08:00
|
|
|
# Use dco as alias for docker-compose, since dc on *nix is 'dc - an arbitrary precision calculator'
|
|
|
|
# https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html
|
|
|
|
|
|
|
|
alias dco='docker-compose'
|
|
|
|
|
2016-09-14 15:49:50 +08:00
|
|
|
alias dcb='docker-compose build'
|
2016-09-28 20:47:00 +08:00
|
|
|
alias dce='docker-compose exec'
|
2016-09-14 15:49:50 +08:00
|
|
|
alias dcps='docker-compose ps'
|
|
|
|
alias dcrestart='docker-compose restart'
|
2016-09-28 20:47:00 +08:00
|
|
|
alias dcrm='docker-compose rm'
|
|
|
|
alias dcr='docker-compose run'
|
|
|
|
alias dcstop='docker-compose stop'
|
|
|
|
alias dcup='docker-compose up'
|
2016-10-25 12:25:07 +08:00
|
|
|
alias dcdn='docker-compose down'
|
2016-10-02 22:34:54 +08:00
|
|
|
alias dcl='docker-compose logs'
|
|
|
|
alias dclf='docker-compose logs -f'
|
2018-03-10 00:14:51 +08:00
|
|
|
alias dcpull='docker-compose pull'
|
2018-03-19 05:10:58 +08:00
|
|
|
alias dcstart='docker-compose start'
|