mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Create aliases for docker volume create
and docker volume rm
This commit is contained in:
parent
ca5471fe49
commit
56b0c42aca
2 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,8 @@ zstyle ':omz:plugins:docker' legacy-completion yes
|
||||||
| dstp | `docker container stop` | Stop one or more running containers |
|
| dstp | `docker container stop` | Stop one or more running containers |
|
||||||
| dtop | `docker top` | Display the running processes of a container |
|
| dtop | `docker top` | Display the running processes of a container |
|
||||||
| dvi | `docker volume inspect` | Display detailed information about one or more volumes |
|
| 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 |
|
| dvls | `docker volume ls` | List all the volumes known to docker |
|
||||||
| dvprune | `docker volume prune` | Cleanup dangling volumes |
|
| dvprune | `docker volume prune` | Cleanup dangling volumes |
|
||||||
| dxc | `docker container exec` | Run a new command in a running container |
|
| dxc | `docker container exec` | Run a new command in a running container |
|
||||||
|
|
|
@ -30,6 +30,8 @@ alias dsta='docker stop $(docker ps -q)'
|
||||||
alias dstp='docker container stop'
|
alias dstp='docker container stop'
|
||||||
alias dtop='docker top'
|
alias dtop='docker top'
|
||||||
alias dvi='docker volume inspect'
|
alias dvi='docker volume inspect'
|
||||||
|
alias dvc='docker volume create'
|
||||||
|
alias dvrm='docker volume rm'
|
||||||
alias dvls='docker volume ls'
|
alias dvls='docker volume ls'
|
||||||
alias dvprune='docker volume prune'
|
alias dvprune='docker volume prune'
|
||||||
alias dxc='docker container exec'
|
alias dxc='docker container exec'
|
||||||
|
|
Loading…
Reference in a new issue