Add more docker compose aliases (#5422)

Adds the following aliases:

```zsh
alias dco='docker-compose'
alias dcr='docker-compose run'
alias dce='docker-compose exec'
```

And sorts the aliases similar to `docker-compose help` order
This commit is contained in:
Leif Ringstad 2016-09-28 14:47:00 +02:00 committed by Marc Cornellà
parent 57fcee0f1c
commit 65874f2b22

View File

@ -5,9 +5,16 @@
# Aliases ################################################################### # Aliases ###################################################################
alias dcup='docker-compose up' # 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'
alias dcb='docker-compose build' alias dcb='docker-compose build'
alias dcrm='docker-compose rm' alias dce='docker-compose exec'
alias dcps='docker-compose ps' alias dcps='docker-compose ps'
alias dcstop='docker-compose stop'
alias dcrestart='docker-compose restart' alias dcrestart='docker-compose restart'
alias dcrm='docker-compose rm'
alias dcr='docker-compose run'
alias dcstop='docker-compose stop'
alias dcup='docker-compose up'