Docker Compose
Tool for defining and running multi-container Docker applications from a single YAML file.
Definition
Docker Compose lets developers declare a stack of services, networks, and volumes in a docker-compose.yml file and bring it up with one command. It is the standard way to define local development stacks (Postgres + Redis + app) and small production deployments where Kubernetes would be overkill. The v2 Compose CLI ships inside modern Docker installations.
When to use
See also
- Docker — The dominant container runtime — packages an app with its dependencies into an image that runs the same anywhere.
- YAML — Human-readable data-serialisation format — the standard for config files in DevOps and CI/CD.