Skip to content

Docker Diag

Verified

Advanced log analysis for Docker containers using signal extraction.

1,315

Install

Claude Code

Add to .claude/skills/

About This Skill

  1. # Docker Pro Diagnostic
  2. When a user asks "Why is my container failing?" or "Analyze the logs for [container]", follow these steps:
  3. Run Extraction: Call `python3 {{skillDir}}/log_processor.py <container_name>`.
  4. Analyze: Feed the output (which contains errors and context) into your reasoning engine.
  5. Report: Summarize the root cause. If it looks like a code error, suggest a fix. If it looks like a resource error (OOM), suggest increasing Docker memory limits.
  6. ## Example Command
  7. `python3 log_processor.py api_gateway_prod`

Use Cases

  • Diagnose Docker daemon issues including connectivity, storage, and networking problems
  • Troubleshoot container startup failures with systematic health checks
  • Identify Docker resource exhaustion issues: disk space, memory, file descriptors
  • Debug Docker networking issues between containers and the host system
  • Analyze Docker logs to pinpoint the root cause of container crashes

Pros & Cons

Pros

  • + Systematic diagnostic approach covers the most common Docker failure modes
  • + Resource exhaustion detection catches issues before they cause cascading failures
  • + Works at both daemon and container level for comprehensive troubleshooting

Cons

  • - Diagnostic capabilities are limited to what Docker exposes through its CLI and API
  • - Only available on claude-code and openclaw platforms
  • - Cannot diagnose issues inside containers that require application-specific knowledge

Frequently Asked Questions

What does Docker Diag do?

Advanced log analysis for Docker containers using signal extraction.

What platforms support Docker Diag?

Docker Diag is available on Claude Code, OpenClaw.

What are the use cases for Docker Diag?

Diagnose Docker daemon issues including connectivity, storage, and networking problems. Troubleshoot container startup failures with systematic health checks. Identify Docker resource exhaustion issues: disk space, memory, file descriptors.

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts