Zum Inhalt springen
Kitbay
Skill

docker-patterns

MITAktualisiert am 9. Nov. 2026300.529GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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