Create aliases for docker volume create and docker volume rm

This commit is contained in:
Egehan Kılıçarslan 2024-11-16 16:51:14 +03:00
parent ca5471fe49
commit 56b0c42aca
2 changed files with 4 additions and 0 deletions

View file

@ -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 |

View file

@ -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'