| description | Compose file reference | ||
|---|---|---|---|
| keywords | fig, composition, compose, docker | ||
| redirect_from |
|
||
| title | Compose file | ||
| toc_max | 4 | ||
| toc_min | 1 |
These topics describe the Docker Compose implementation of the Compose format. Docker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x. The Compose specification is a unified 2.x and 3.x file format, aggregating properties across these formats.
There are several versions of the Compose file format – 2, 2.x, and 3.x. The table below provides a snapshot of various versions. For full details on what each version includes and how to upgrade, see About versions and upgrading.
{% include content/compose-matrix.md %}