docker-engineering
Installation
SKILL.md
Docker Engineering
Use this skill when
- Writing optimized, minimal images
- Multi-stage builds and caching
- Local dev containers and debugging
Do not use this skill when
- Cluster orchestration (use kubernetes-engineering)
- Runtime security (use container-security)
Instructions
- Use multi-stage builds: builder stage then minimal runtime.
- Order layers by change frequency to leverage build cache.
- Run as non-root with minimal image base.
- Copy only what is needed; respect .dockerignore.
- Pin base image digests in production builds.
- Keep services single-process and stateless where possible.
- Use healthchecks; define resource limits.