docker-helper
Installation
SKILL.md
Docker Helper
Overview
Create, debug, and optimize Docker configurations including Dockerfiles, docker-compose setups, and container troubleshooting. Follows Docker best practices for security, image size, and build speed.
Instructions
When a user asks for help with Docker, determine which task they need:
Task A: Create a Dockerfile
- Identify the application language and framework.
docker initcan generate a starting Dockerfile,compose.yamland.dockerignorefor common stacks; review its output before keeping it. - Choose the right base image (prefer
-slimor-alpinevariants, and a currently supported release: Node 20 reached end of life in April 2026, so use an LTS such as 24 or 22). - Use multi-stage builds for compiled or bundled apps.
- Order instructions for layer caching: