docker cli
All checks were successful
Build, Test & Publish / Build (push) Successful in 41s
Build, Test & Publish / Build and Publish Container Image (push) Successful in 1m14s
Build, Test & Publish / Deploy to Infrastructure (push) Successful in 16s

This commit is contained in:
2026-02-04 12:35:07 +11:00
parent 0d15ac8d01
commit 256c55e585
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
# CLI Commands
The docker CLI can be used for a variety of management tasks.
## Clear Multiple Volumes
We can combine the `docker volume rm` command with `docker volume ls` to clear multiple volumes at once. For example, to remove all unused volumes:
```bash
docker volume rm $(docker volume ls -qf dangling=true)
```
or to remove volumes with a specific name pattern:
```bash
docker volume rm $(docker volume ls -qf name=your_pattern)
```

View File

@@ -2,4 +2,5 @@
#### [Exec Into Container](./exec-into-container.md)
#### [Local Database With Scripts (MSSQL)](./local-db-mssql.md)
#### [Local Database With Scripts (PostgreSQL)](./local-db-pg.md)
#### [Local Database With Scripts (PostgreSQL)](./local-db-pg.md)
#### [CLI Commands](./cli-commands.md)