docker_doctor
Scan all Docker containers for health issues like OOM kills, restart loops, failed health checks, and high CPU/memory usage, returning a clean bill of health if none are found. Optionally set CPU and memory thresholds.
Instructions
Scans every container and reports only the ones that need attention: OOM kills, restart loops, unhealthy health checks, crashed containers, or high CPU/memory usage. Returns a clean-bill-of-health message if nothing is flagged — use this instead of checking containers one by one.
Args: cpu_threshold: CPU %% above which a running container is flagged (default 80.0) mem_threshold: memory %% of its limit above which a container is flagged (default 80.0)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu_threshold | No | ||
| mem_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |