docker-compose-patterns
Docker's skill for Compose files, used when an agent has to create, change or debug a compose.yaml stack rather than tune an image.
What the skill teaches
Docker's skill for Compose files, used when an agent has to create, change or debug a compose.yaml stack rather than tune an image. It sets conventions such as the compose.yaml file name, pinned image tags, restart policies, health checks paired with depends_on conditions, named volumes and networks, environment handling and development overrides in compose.override.yaml. A helper script validates the Compose project in the current folder quietly, so resolved secrets are not printed. Docker Compose v2 is required.
Capabilities
- Create and edit compose.yaml files
- Set service health checks and start-up ordering
- Plan volumes, networks and environment variables
- Validate a Compose project without printing secrets
About
- Publisher
- Docker
- Tool
- Docker
Install
- Run this to add it to Any client:
npx skills add docker/skills
What's inside
- agents/openai.yaml
- assets/bad-vs-good.md
- assets/compose-dev-override.yaml
- assets/compose-web-app.yaml
- checks/verification.md
- evals/docker-compose-patterns.md
- references/service-dependencies.md
- references/volumes-and-networks.md
- scripts/verify-compose.sh
- skill.yaml
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Docker | |
| Publisher | Docker | source |
| Official status | OfficialDocker Docs call these Docker's official skills and link the docker/skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 2026625 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/docker/skills · Backs: LicenceNov 14, 2026
- README (README.md)github.com/docker/skillsNov 12, 2026
- Web pagedocs.docker.com · Backs: Official statusNov 12, 2026
- GitHub repositorygithub.com/docker/skills · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (docker-compose-patterns)github.com/docker/skills · Backs: Includes scriptsNov 14, 2026