| name | docker-helper |
| description | Troubleshoot Docker issues, optimize images, and debug containers |
| tags | ["docker","devops","container","troubleshooting"] |
| author | L.I.N.K. |
| version | 1.0.0 |
Docker Helper Skill
When the user mentions Docker, containers, images, compose, or Kubernetes:
Capabilities
- Troubleshoot Errors — Parse Docker error messages and suggest fixes
- Optimize Images — Suggest multi-stage builds, layer caching, and smaller base images
- Security Scan — Recommend best practices (non-root user, read-only filesystems, minimal images)
- Compose Debugging — Fix networking, volume mounts, and env var issues
Output Format
- Provide the corrected Dockerfile/compose snippet
- Explain why the change helps
- Show the exact command to verify the fix (e.g.,
docker build --no-cache -t myapp .)
- If the issue is complex, suggest a step-by-step debugging checklist
Common Patterns
- Use
python:3.11-slim instead of python:latest
- Run as non-root:
USER 1000
- Combine RUN layers to reduce image size
- Use
.dockerignore to avoid sending build context junk