docker-build-strategies
An agent skill from Docker focused on the quality of Dockerfiles and the images they produce.
スキルの内容
An agent skill from Docker focused on the quality of Dockerfiles and the images they produce. It gives the agent rules for multi-stage builds with named stages and small runtime bases, ordering instructions so layer caching works, keeping the build context lean with .dockerignore, running containers as a non-root user and trimming image size, with reference notes per language and example Dockerfiles for Go, Node.js and Python. A bundled shell script builds the current project and reports the image size and configured user. BuildKit is expected, which is the default from Docker 23.0.
できること
- Write or review Dockerfiles with multi-stage builds
- Order layers for better build caching
- Create a .dockerignore file
- Build an image and report its size and user
概要
- 公開元
- Docker
- ツール
- Docker
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add docker/skills
含まれるファイル
- agents/openai.yaml
- assets/Dockerfile.go
- assets/Dockerfile.nodejs
- assets/Dockerfile.python
- assets/dockerignore-example
- checks/verification.md
- evals/docker-build-strategies.md
- references/layer-caching.md
- references/multi-stage-builds.md
- scripts/verify-build.sh
- skill.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Docker | |
| 公開元 | Docker | 出典 |
| 公式かどうか | 公式Docker Docs call these Docker's official skills and link the docker/skills repository | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | はい | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月10日GitHubスター 625ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
Dockerのほかの掲載
サーバー3件 · スキル13件
- docker-agent-config (スキル)
- docker-agent-deploy (スキル)
- docker-agent-run (スキル)
- docker-compose-patterns (スキル)
- docker-destructive-guardrails (スキル)
- docker-docs (スキル)
README用バッジ
このプロジェクトのメンテナーの方は、このページにリンクするバッジを追加できます。
[](https://kitbay.app/skills/docker-docker-build-strategies/)
出典
- スキルファイル(SKILL.md)github.com/docker/skills · 根拠となる項目:ライセンス2026年11月14日
- README(README.md)github.com/docker/skills2026年11月12日
- Webページdocs.docker.com · 根拠となる項目:公式かどうか2026年11月12日
- GitHubリポジトリgithub.com/docker/skills · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(docker-build-strategies)github.com/docker/skills · 根拠となる項目:スクリプトを含む2026年11月14日