Fix Docker command examples and log management instructions

Co-authored-by: kelinfoxy <67766943+kelinfoxy@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-11 22:59:06 +00:00
parent 9b466145c3
commit 0611ddbff4
2 changed files with 13 additions and 4 deletions

View File

@@ -476,11 +476,15 @@ sudo netstat -tlnp | grep PORT_NUMBER
# Check disk usage
df -h
# Clean up Docker resources
# Clean up Docker resources (removes unused images, containers, networks)
docker system prune -a
# Remove old logs
docker compose logs --tail=0 service-name
# To manage log size, configure log rotation in compose files:
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# max-file: "3"
```
## Getting Help