mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
feat(docker): add image prune alias (#12520)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
parent
432596e991
commit
0f75203698
2 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ zstyle ':omz:plugins:docker' legacy-completion yes
|
||||||
| dii | `docker image inspect` | Display detailed information on one or more images |
|
| dii | `docker image inspect` | Display detailed information on one or more images |
|
||||||
| dils | `docker image ls` | List docker images |
|
| dils | `docker image ls` | List docker images |
|
||||||
| dipu | `docker image push` | Push an image or repository to a remote registry |
|
| dipu | `docker image push` | Push an image or repository to a remote registry |
|
||||||
|
| dipru | `docker image prune -a` | Remove all images not referenced by any container |
|
||||||
| dirm | `docker image rm` | Remove one or more images |
|
| dirm | `docker image rm` | Remove one or more images |
|
||||||
| dit | `docker image tag` | Add a name and tag to a particular image |
|
| dit | `docker image tag` | Add a name and tag to a particular image |
|
||||||
| dlo | `docker container logs` | Fetch the logs of a docker container |
|
| dlo | `docker container logs` | Fetch the logs of a docker container |
|
||||||
|
|
|
@ -6,6 +6,7 @@ alias dib='docker image build'
|
||||||
alias dii='docker image inspect'
|
alias dii='docker image inspect'
|
||||||
alias dils='docker image ls'
|
alias dils='docker image ls'
|
||||||
alias dipu='docker image push'
|
alias dipu='docker image push'
|
||||||
|
alias dipru='docker image prune -a'
|
||||||
alias dirm='docker image rm'
|
alias dirm='docker image rm'
|
||||||
alias dit='docker image tag'
|
alias dit='docker image tag'
|
||||||
alias dlo='docker container logs'
|
alias dlo='docker container logs'
|
||||||
|
|
Loading…
Reference in a new issue