From 56b0c42acadddb8f38e8edd5b8b8cc5e1c781d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Egehan=20K=C4=B1l=C4=B1=C3=A7arslan?= Date: Sat, 16 Nov 2024 16:51:14 +0300 Subject: [PATCH] Create aliases for `docker volume create` and `docker volume rm` --- plugins/docker/README.md | 2 ++ plugins/docker/docker.plugin.zsh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/docker/README.md b/plugins/docker/README.md index 8619125a2..0deae9f19 100644 --- a/plugins/docker/README.md +++ b/plugins/docker/README.md @@ -75,6 +75,8 @@ zstyle ':omz:plugins:docker' legacy-completion yes | dstp | `docker container stop` | Stop one or more running containers | | dtop | `docker top` | Display the running processes of a container | | dvi | `docker volume inspect` | Display detailed information about one or more volumes | +| dvc | `docker volume create` | Create a new volume | +| dvrm | `docker volume rm` | Remove one or more volumes | | dvls | `docker volume ls` | List all the volumes known to docker | | dvprune | `docker volume prune` | Cleanup dangling volumes | | dxc | `docker container exec` | Run a new command in a running container | diff --git a/plugins/docker/docker.plugin.zsh b/plugins/docker/docker.plugin.zsh index 16db77df6..cf3602415 100644 --- a/plugins/docker/docker.plugin.zsh +++ b/plugins/docker/docker.plugin.zsh @@ -30,6 +30,8 @@ alias dsta='docker stop $(docker ps -q)' alias dstp='docker container stop' alias dtop='docker top' alias dvi='docker volume inspect' +alias dvc='docker volume create' +alias dvrm='docker volume rm' alias dvls='docker volume ls' alias dvprune='docker volume prune' alias dxc='docker container exec'