本文へスキップ
Kitbay
スキル

docker-patterns

MIT2026年11月9日 更新300,529GitHubスター

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

スキルの内容

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.

できること

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