This commit is contained in:
Guilherme Augusto Henschel 2025-01-22 12:17:34 +01:00 committed by GitHub
commit cbc61c81a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -79,3 +79,9 @@ zstyle ':omz:plugins:docker' legacy-completion yes
| dvprune | `docker volume prune` | Cleanup dangling volumes |
| 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 |
| ddeng | `docker desktop engine` | Commands to list and switch containers (Windows only) |
| ddres | `docker desktop restart` | Restart Docker Desktop |
| ddst | `docker desktop start` | Start Docker Desktop |
| ddsts | `docker desktop status` | Display Docker Desktop's status |
| ddstp | `docker desktop stop` | Stop Docker Desktop |
| ddver | `docker desktop version` | Show the Docker Desktop version information |

View File

@ -34,6 +34,13 @@ alias dvls='docker volume ls'
alias dvprune='docker volume prune'
alias dxc='docker container exec'
alias dxcit='docker container exec -it'
alias ddeng='docker desktop engine'
alias ddres='docker desktop restart'
alias ddst='docker desktop start'
alias ddsts='docker desktop status'
alias ddstp='docker desktop stop'
alias ddver='docker desktop version'
if (( ! $+commands[docker] )); then
return