mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-16 02:40:08 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
|
alias dbl='docker build'
|
||
|
alias dpu='docker pull'
|
||
|
alias dtop='docker top'
|
||
|
|
||
|
# docker containers
|
||
|
alias dcin='docker container inspect'
|
||
|
alias dlo='docker container logs'
|
||
|
alias dls='docker container ls'
|
||
|
alias dlsa='docker container ls -a'
|
||
|
alias dpo='docker container port'
|
||
|
alias dr='docker container run'
|
||
|
alias drit='docker container run -it'
|
||
|
alias drm='docker container rm'
|
||
|
alias 'drm!'='docker container rm -f'
|
||
|
alias dst='docker container start'
|
||
|
alias dstp='docker container stop'
|
||
|
alias dxc='docker container exec'
|
||
|
alias dxcit='docker container exec -it'
|
||
|
|
||
|
# docker images
|
||
|
alias dib='docker image build'
|
||
|
alias dii='docker image inspect'
|
||
|
alias dils='docker image ls'
|
||
|
alias dip='docker image push'
|
||
|
alias dirm='docker image rm'
|
||
|
alias dit='docker image tag'
|
||
|
|
||
|
# docker network
|
||
|
alias dnc='docker network create'
|
||
|
alias dncn='docker network connect'
|
||
|
alias dndcn='docker network disconnect'
|
||
|
alias dni='docker network inspect'
|
||
|
alias dnls='docker network ls'
|
||
|
alias dnrm='docker network rm'
|
||
|
|
||
|
# docker volume
|
||
|
alias dvi='docker volume inspect'
|
||
|
alias dvls='docker volume ls'
|
||
|
alias dvprune='docker volume prune'
|