# docker/compose

> Docker Compose is a tool for running multi-container applications on Docker. You describe the containers that make up your app in a Compose file, then create and start the whole application with a single command. The project is written in Go.

Source: https://github.com/docker/compose
Indexed: commit 9d444a6 on 2026-07-02 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: Go
- Stars: 38,867 at index time
- License: Apache-2.0
- Code health: 6.3/10, Fair
- Last commit: 2026-06-30

## How it works

The binary starts at cmd/main.go, which is one of the entry points. The run and start subcommands have their own entry points in cmd/compose/run.go and cmd/compose/start.go. The pkg directory is the largest module by file count, with 143 files, and holds the main application code. The internal directory holds 36 files of supporting code. Input is a Compose file that describes the services of an application, and the output is those containers created and started by the commands.

- cmd/compose/run.go: entry point
- cmd/compose/start.go: entry point
- cmd/main.go: entry point
- docs/examples/provider.go: entry point
- docs/yaml/main/generate.go: entry point
Modules: pkg, docs, cmd, internal, .github, root, desktop-module. 383 files, 40,463 lines, 2,008 symbols.

## Code health

- Score: 6.3/10 (Fair)
- Rank: #201 of 4,000+ indexed repos
- Hotspots: pkg/compose/reconcile_test.go, pkg/compose/reconcile.go, pkg/compose/convergence.go, pkg/compose/executor.go, pkg/compose/publish.go
- Lowest file: pkg/compose/pull.go
- Dead code: 40 findings

## Maintenance

- Last commit 2026-06-30
- bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/docker/compose/security

## More

- Page: https://repowise.dev/repo/docker/compose
- Ask this codebase: https://repowise.dev/repo/docker/compose/chat
- Docs: https://repowise.dev/repo/docker/compose/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/docker/compose
