masterpdfeditor-free-pkg/any/aliases-dc/docker-compose-aliases.sh

10 lines
1001 B
Bash
Raw Normal View History

2020-03-08 15:30:59 +00:00
# Aliases for docker-compose
alias dcd='docker-compose down' # Stop and Remove containers
alias dcl='docker-compose logs' # Print all logs from the containers defined by the compose file on stdout
alias dclf='docker-compose logs --follow' # Print all and new logs from the containers defined by the compose file on stdout
alias dcp='docker-compose ps' # List all running containers
alias dcr='docker-compose rm --force' # Remove all defined containers
alias dcs='docker-compose stop' # Stop all defined containers
alias dcud='docker-compose up -d' # Start all defined containers
alias dcudb='docker-compose up -d --build' # Start all defomed containers and build them from source if possible