feat(docker): add docker volume rm alias

This commit is contained in:
JimMoen 2023-06-29 15:10:15 +08:00
parent 8cbe98469d
commit fb011f5d48
No known key found for this signature in database
GPG key ID: 87A520B4F76BA86D
2 changed files with 2 additions and 0 deletions

View file

@ -64,6 +64,7 @@ file**, but be aware of the side effects:
| 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 |
| dvls | `docker volume ls` | List all the volumes known to docker | | dvls | `docker volume ls` | List all the volumes known to docker |
| dvrm | `docker volume rm` | Remove one or more volumes |
| 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 |
| dxcit | `docker container exec -it` | Run a new command in a running container in an interactive shell | | dxcit | `docker container exec -it` | Run a new command in a running container in an interactive shell |

View file

@ -28,6 +28,7 @@ alias dstp='docker container stop'
alias dtop='docker top' alias dtop='docker top'
alias dvi='docker volume inspect' alias dvi='docker volume inspect'
alias dvls='docker volume ls' alias dvls='docker volume ls'
alias dvrm='docker volume rm'
alias dvprune='docker volume prune' alias dvprune='docker volume prune'
alias dxc='docker container exec' alias dxc='docker container exec'
alias dxcit='docker container exec -it' alias dxcit='docker container exec -it'