Unverified Commit 3705edf5 authored by kormosi's avatar kormosi Committed by GitHub

feat(docker): add `drs` alias (#11393)

parent 29cf199b
...@@ -58,6 +58,7 @@ file**, but be aware of the side effects: ...@@ -58,6 +58,7 @@ file**, but be aware of the side effects:
| drm | `docker container rm` | Remove the specified container(s) | | drm | `docker container rm` | Remove the specified container(s) |
| drm! | `docker container rm -f` | Force the removal of a running container (uses SIGKILL) | | drm! | `docker container rm -f` | Force the removal of a running container (uses SIGKILL) |
| dst | `docker container start` | Start one or more stopped containers | | dst | `docker container start` | Start one or more stopped containers |
| drs | `docker container restart` | Restart one or more containers
| dsta | `docker stop $(docker ps -q)` | Stop all running containers | | dsta | `docker stop $(docker ps -q)` | Stop all running containers |
| 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 |
......
...@@ -22,6 +22,7 @@ alias drit='docker container run -it' ...@@ -22,6 +22,7 @@ alias drit='docker container run -it'
alias drm='docker container rm' alias drm='docker container rm'
alias 'drm!'='docker container rm -f' alias 'drm!'='docker container rm -f'
alias dst='docker container start' alias dst='docker container start'
alias drs='docker container restart'
alias dsta='docker stop $(docker ps -q)' 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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment