diff options
author | 2022-10-03 21:42:20 +0530 | |
---|---|---|
committer | 2022-10-03 21:42:20 +0530 | |
commit | af120ab348f2e1a5a39dec035ed9dcf84189a64e (patch) | |
tree | 2a3aadd7ce1b7b771dfe3fe7c983569726c8d7ed /zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh | |
download | dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.gz dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.bz2 dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.zip |
dotfiles
Diffstat (limited to 'zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh')
-rw-r--r-- | zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh b/zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh new file mode 100644 index 0000000..843c8e2 --- /dev/null +++ b/zsh/oh-my-zsh/plugins/docker/docker.plugin.zsh @@ -0,0 +1,39 @@ +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 dcls='docker container ls' +alias dclsa='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' |