Compose file | Docker Documentation
docs.docker.com › compose › compose-fileThe Compose specification is a unified 2.x and 3.x file format, aggregating properties across these formats. Compose and Docker compatibility matrix. 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. This table shows which Compose file versions support specific Docker releases.