mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-20 15:04:57 +02:00
19 lines
283 B
Markdown
19 lines
283 B
Markdown
# Administration Notes
|
|
|
|
## Delete all containers, networks and volumes
|
|
|
|
```bash
|
|
docker compose down -v
|
|
```
|
|
|
|
## Show the state of all containers
|
|
|
|
```bash
|
|
watch -n 2 "docker compose ps -a"
|
|
```
|
|
|
|
## Health Logs
|
|
|
|
```bash
|
|
docker inspect --format='{{json .State.Health}}' <container_id>
|
|
``` |