mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: docker compose is a docker subcommand
compose v2 does away with the docker-compose binary and provides 'docker compose' directly. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
e25953d913
commit
3158db0946
2
aliases
2
aliases
@ -204,6 +204,7 @@ alias dst='docker stop'
|
|||||||
alias drst='docker restart'
|
alias drst='docker restart'
|
||||||
alias dnet='docker network'
|
alias dnet='docker network'
|
||||||
alias dvol='docker volume'
|
alias dvol='docker volume'
|
||||||
|
alias dc='docker compose'
|
||||||
alias dlg='docker logs --tail=1000 -f'
|
alias dlg='docker logs --tail=1000 -f'
|
||||||
alias dalpine='docker run -ti --rm spritsail/alpine /bin/sh'
|
alias dalpine='docker run -ti --rm spritsail/alpine /bin/sh'
|
||||||
alias drm-stopped='docker container prune'
|
alias drm-stopped='docker container prune'
|
||||||
@ -279,7 +280,6 @@ do_dsh() {
|
|||||||
docker "${docker_args[@]}" "$host" "${prog[@]}"
|
docker "${docker_args[@]}" "$host" "${prog[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias dc='docker-compose'
|
|
||||||
alias dm='docker-machine'
|
alias dm='docker-machine'
|
||||||
dmc() { eval "$(docker-machine env "$1")"; }
|
dmc() { eval "$(docker-machine env "$1")"; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user