# Docker Compose Patterns (agent skill)

> Docker Compose Patterns is an agent skill (a SKILL.md file) from docker/skills. Agents load it when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their… It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 539 GitHub stars.

Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple containers. Covers service definitions, health checks, dependency ordering, volumes, networks, environment variables, and development overrides. This skill provides rules for creating, reviewing, and debugging Docker Compose configurations.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/docker/skills |
| Skill path | skills/docker-compose-patterns/SKILL.md |
| Skill name | docker-compose-patterns |
| GitHub stars | 539 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 1 |
| Plugin marketplace | docker |
| Official | yes |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | DevOps & cloud |
| Last commit | Oct 4, 2026 |

## When it triggers

- Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple cont

## Add this skill

### Claude Code

```sh
/plugin marketplace add docker/skills
/plugin install docker-skills@docker
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/docker/skills.git
cp -r skills/skills/docker-compose-patterns .agents/skills/docker-compose-patterns   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/docker/skills.git
cp -r skills/skills/docker-compose-patterns .cursor/skills/docker-compose-patterns   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/docker-compose-patterns
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
