Skip to content

compose

Define and run multi-container Docker apps from a single YAML file

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

39,015

Last commit

yesterday

Nov 2026

Repository age

12 years

since Dec 2013

Latest version

v5.8.0

Nov 2026

Contributors

–

12 active in 90 days

Releases

20

last 12 months

Docker pulls

66M

docker/compose

Language

Go

Docker Compose runs multi-container applications on Docker. You describe the containers that make up your app in a Compose file, usually compose.yaml, and start everything with the command docker compose up.

A typical file lists services, such as a web app built from a local Dockerfile and a Redis container, with their ports and volumes. Compose then creates and starts them together in an isolated environment. The same file can be reproduced on another machine.

On Windows and macOS, Compose comes included with Docker Desktop. On Linux you download a binary from the releases page and place it in one of the Docker CLI plugin folders, such as the .docker/cli-plugins directory in your home folder. The tool is written in Go under the Apache-2.0 license and has been developed since 2013. The older Python version lives on the v1 branch. Docker Swarm did not adopt the current Compose specification, so some newer features are not available to Swarm users.

Who it's for

Developers running local app stacks

One file starts a web service, database and cache together with a single command.

Skip if: You deploy to a large cluster and need a full orchestrator.

Small teams deploying to a single Docker host

The same Compose file works in development and on a server.

Skip if: You need multi-node scheduling and automatic failover.

Home lab users running self-hosted apps

Many self-hosted projects publish a Compose file you can start as is.

Skip if: You prefer to manage containers through a graphical dashboard.

The problem it solves

Starting several containers by hand means long commands and easy-to-forget settings. Compose records the whole setup in one file so anyone can bring the stack up the same way.

Strengths

  • One command, docker compose up, starts the whole application
  • Plain YAML Compose file describes services, ports and volumes
  • Included with Docker Desktop on Windows and macOS
  • Apache-2.0 license; 20 releases in the last year
  • Linux install is a binary copied to a CLI plugin folder

Trade-offs

  • Works with Docker on one host; it is not a multi-node orchestrator
  • Some newer Compose features are unavailable to Docker Swarm users
  • Linux installation is a manual binary download from the releases page

Self-host compose

Self-hostable
No (desktop or local app)
Docker image
docker/compose
Hosted plan
From $15/month · pricing

Frequently asked questions

Is Docker Compose free?

Yes. The tool is open source under Apache-2.0.

How do I install it on Linux?

Download the binary from the releases page, rename it to docker-compose and copy it to a Docker CLI plugins folder. You may need to run chmod +x on it.

Does it come with Docker Desktop?

Yes. Docker Compose is included in Docker Desktop for Windows and macOS.

What file does it use?

A Compose file, commonly named compose.yaml, which defines the services of your app.

Similar tools in Containers and Docker tools

runc

Containers and Docker tools

Low-level Linux runtime that starts containers from OCI bundles, for engineers building

14k 2.4k today Thriving Apache-2.0

lazydocker

Containers and Docker tools

Terminal UI for managing Docker and Docker Compose containers, logs and services

53k 1.8k 9 days ago Active MIT

Colima

Containers and Docker tools

Command-line container runtime for macOS and Linux developers, without Docker Desktop

32k 648 2 months ago Active MIT

Replaces Docker DesktopDocker

dockge

Containers and Docker tools

Web manager for Docker Compose stacks, with editor, terminal and multi-host agents

25k 876 32 days ago Slowing MIT

Podman

Containers and Docker tools

Daemonless, rootless container engine with a Docker-compatible CLI for Linux users

33k 3.5k today Thriving Apache-2.0

Replaces Docker

portainer

Containers and Docker tools

Web UI for managing Docker, Swarm, Podman and Kubernetes, aimed at homelabs

39k 2.9k yesterday Thriving Zlib