alias: move docker aliases to "docker compose" with "-"

This commit is contained in:
Michael Grote 2024-10-23 18:26:19 +02:00
parent 97df895805
commit 3576e74de0

View file

@ -28,10 +28,10 @@ alias gsp="git stage -p"
alias gflog="git log -- " alias gflog="git log -- "
alias gb="git branch" alias gb="git branch"
# docker # docker
alias dcu="docker-compose up" alias dcu="docker compose up"
alias dlogs="docker-compose logs -f" alias dlogs="docker compose logs -f"
alias dcd="docker-compose down" alias dcd="docker compose down"
alias dcr="docker-compose down && docker-compose up -d" alias dcr="docker compose down && docker compose up -d"
alias dps="docker ps --no-trunc --all --format 'table {{.Names}}\t{{.Status}}\t{{.State}}\t{{.CreatedAt}}\t{{.RunningFor}}\t{{.Size}}'" alias dps="docker ps --no-trunc --all --format 'table {{.Names}}\t{{.Status}}\t{{.State}}\t{{.CreatedAt}}\t{{.RunningFor}}\t{{.Size}}'"
# safeguard # safeguard
alias mv="mv -i " alias mv="mv -i "