mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
docs(docker): add prune aliases to README
This commit is contained in:
parent
9eaacadb96
commit
ace8e1d40f
1 changed files with 42 additions and 42 deletions
|
|
@ -46,7 +46,7 @@ If you use Podman's Docker wrapper, you need to enable legacy completion. See ab
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| :------ | :------------------------------ | :--------------------------------------------------------------------------------------- |
|
| :------ | :---------------------------- | :--------------------------------------------------------------------------------------- |
|
||||||
| dbl | `docker build` | Build an image from a Dockerfile |
|
| dbl | `docker build` | Build an image from a Dockerfile |
|
||||||
| dcin | `docker container inspect` | Display detailed information on one or more containers |
|
| dcin | `docker container inspect` | Display detailed information on one or more containers |
|
||||||
| dcls | `docker container ls` | List all the running docker containers |
|
| dcls | `docker container ls` | List all the running docker containers |
|
||||||
|
|
@ -75,9 +75,9 @@ If you use Podman's Docker wrapper, you need to enable legacy completion. See ab
|
||||||
| drit | `docker container run -it` | Create a new container and start it in an interactive shell |
|
| drit | `docker container run -it` | Create a new container and start it in an interactive shell |
|
||||||
| 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) |
|
||||||
| drs | `docker container restart` | Restart one or more containers |
|
|
||||||
| dsprune | `docker system prune` | Remove unused data |
|
| dsprune | `docker system prune` | Remove unused data |
|
||||||
| 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 |
|
||||||
| dsts | `docker stats` | Display real-time streaming statistics for containers |
|
| dsts | `docker stats` | Display real-time streaming statistics for containers |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue