Skip to content

Commit

Permalink
update docker compose commands
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Oct 12, 2024
1 parent 3df378c commit a01df3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zsh/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ alias tm="tmux new -s (pwd | sed 's/.*\///g')"

# Docker
alias d="docker"
alias dc="docker-compose"
alias dc="docker compose"
alias dps="docker ps --format 'table 👾 {{.ID}} \t {{.Names}} \t {{.Status}} \t {{.Ports}}'"
alias dm="docker-machine"
alias dcup="docker-compose up -d --remove-orphans"
alias dcdown="docker-compose down -v --remove-orphans"
alias dcup="docker compose up -d --remove-orphans"
alias dcdown="docker compose down -v --remove-orphans"
alias dstop="docker stop $(docker ps -a -q)"
# Get container IP address by container ID
alias dip="docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'"
Expand Down

0 comments on commit a01df3c

Please sign in to comment.