π³ Introduced version 3.7 of the docker-compose.yml specification.
This version requires Docker Engine 18.06.0 or above.
β Added support for rollback_config in the deploy configuration
β Added support for the init parameter in service configurations
β Added support for extension fields in service, network, volume, secret, and config configurations
π³ Introduced version 3.6 of the docker-compose.yml specification.
This version requires Docker Engine 18.02.0 or above.
β Added support for the tmpfs.size property in volume mappings
π³ Introduced version 3.5 of the docker-compose.yml specification.
This version requires Docker Engine 17.06.0 or above
β Added support for the shm_size parameter in build configurations
β Added support for the isolation parameter in service definitions
β Added support for custom names for network, secret and config definitions
π³ Introduced version 3.4 of the docker-compose.yml specification.
This version requires to be used with Docker Engine 17.06.0 or above.
β Added support for cache_from, network and target options in build
configurations
β Added support for the order parameter in the update_config section
β Added support for setting a custom name in volume definitions using
the name parameter
docker-compose.yml specification.
This version requires to be used with Docker Engine 17.06.0 or above.
Note: the credential_spec and configs keys only apply to Swarm services
and will be ignored by Composeπ³ Introduced version 3.2 of the docker-compose.yml specification
β Added support for cache_from in the build section of services
β Added support for the new expanded ports syntax in service definitions
β Added support for the new expanded volumes syntax in service definitions
docker-compose.yml specification. This
version requires Docker Engine 1.13.0 or above. It introduces support
for secrets. See the documentation for more informationdocker-compose.yml specification. This
version requires to be used with Docker Engine 1.13 or above and is
specifically designed to work with the docker stack commands.π³ Introduced version 2.4 of the docker-compose.yml specification.
This version requires Docker Engine 17.12.0 or above.
β Added support for the platform parameter in service definitions.
If supplied, the parameter is also used when performing build for the
service.
β Added support for extra_hosts in build configuration
β Added support for the long syntax for volume entries, as previously introduced in the 3.2 format. Note that using this syntax will create mounts instead of volumes.