Skip to content
Kitbay
Submit
Skill

docker-patterns

MITUpdated on Nov 9, 2026300,529GitHub stars

A reference skill from the ECC collection covering how to use Docker and Compose when developing locally and how to secure containers.

What the skill teaches

A reference skill from the ECC collection covering how to use Docker and Compose when developing locally and how to secure containers. It gives a sample Compose stack with an app, Postgres, Redis and a mail catcher, a Dockerfile with separate dev and production stages, override files per environment, service discovery and custom networks, volume choices, hardening steps such as pinned tags, non-root users and dropped capabilities, secret handling, a .dockerignore, debugging commands and a list of anti-patterns. The copy indexed here sits in the repository's Kiro skills folder.

Capabilities

  • Set up Docker Compose for local development
  • Separate development and production Dockerfile stages
  • Harden containers and handle secrets
  • Debug container networking and volumes