Only function so far: docker-compose-fresh, which shuts down a running docker-compose instance, deletes the containers, and starts up fresh instances, then tails the container logs. Converted this from an alias to a function so that a parameter can be provided for the name of the docker-compose.yaml file name.
7 lines
175 B
Bash
7 lines
175 B
Bash
cite 'about-alias'
|
|
about-alias 'docker-compose abbreviations'
|
|
|
|
alias dco="docker-compose"
|
|
alias dcofresh="docker-compose-fresh"
|
|
alias dcol="docker-compose logs -f --tail 100"
|