add docker plugin context aliases

This commit is contained in:
ummahrican 2024-11-30 14:17:02 -08:00
commit 736dc8194c
2 changed files with 14 additions and 2 deletions

View file

@ -47,6 +47,12 @@ zstyle ':omz:plugins:docker' legacy-completion yes
| dcin | `docker container inspect` | Display detailed information on one or more containers |
| dcls | `docker container ls` | List all the running docker containers |
| dclsa | `docker container ls -a` | List all running and stopped containers |
| dctx | `docker context` | Base docker context command to add subcommands at will |
| dctxc | `docker context create` | Create a docker context |
| dctxi | `docker context inspect` | Inspect docker context to retrieve relevant config and metadata |
| dctxls | `docker context ls` | List docker contexts |
| dctxrm | `docker context rm` | Remove one docker context by name |
| dctxu | `docker context use` | Switch current context to specified name |
| dib | `docker image build` | Build an image from a Dockerfile (same as docker build) |
| dii | `docker image inspect` | Display detailed information on one or more images |
| dils | `docker image ls` | List docker images |