10 lines
1001 B
Bash
10 lines
1001 B
Bash
# 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
|