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

  1. Use multi-stage builds: builder stage then minimal runtime.
  2. Order layers by change frequency to leverage build cache.
  3. Run as non-root with minimal image base.
  4. Copy only what is needed; respect .dockerignore.
  5. Pin base image digests in production builds.
  6. Keep services single-process and stateless where possible.
  7. Use healthchecks; define resource limits.
Installs
1
First Seen
Oct 22, 2026