debug:docker
Installation
SKILL.md
Docker Debugging Guide
This guide provides a systematic approach to debugging Docker containers, images, networks, and volumes. Follow the four-phase methodology for efficient problem resolution.
The Four Phases of Docker Debugging
Phase 1: Quick Assessment (30 seconds)
Get immediate context about the issue.
# Check container status
docker ps -a
# View recent logs (last 50 lines)
docker logs --tail 50 <container>
# Check container exit code
docker inspect <container> --format='{{.State.ExitCode}}'