v1.25.2
If you're a Mac or Windows user, the best way to install Compose and keep it up-to-date is Docker Desktop for Mac and Windows.
Docker Desktop will automatically install the latest version of Docker Engine for you.
Alternatively, you can use the usual commands to install or upgrade Compose:
curl -L https://github.com/docker/compose/releases/download/v1.25.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
See the install docs for more install options and instructions.
Compose file format compatibility matrix
Compose file format | Docker Engine |
---|---|
1 | 1.9.0+ |
2.0 | 1.10.0+ |
2.1 | 1.12.0+ |
2.2, 3.0, 3.1, 3.2 | 1.13.0+ |
2.3, 3.3, 3.4, 3.5 | 17.06.0+ |
2.4 | 17.12.0+ |
3.6 | 18.02.0+ |
3.7 | 18.06.0+ |
Changes
Features
-
Allow compatibility option with
COMPOSE_COMPATIBILITY
environment variable -
Bump PyInstaller from 3.5 to 3.6
-
Bump pysocks from 1.6.7 to 1.7.1
-
Bump websocket-client from 0.32.0 to 0.57.0
-
Bump urllib3 from 1.24.2 to 1.25.7
-
Bump jsonschema from 3.0.1 to 3.2.0
-
Bump PyYAML from 4.2b1 to 5.3
-
Bump certifi from 2017.4.17 to 2019.11.28
-
Bump coverage from 4.5.4 to 5.0.3
-
Bump paramiko from 2.6.0 to 2.7.1
-
Bump cached-property from 1.3.0 to 1.5.1
-
Bump minor Linux and MacOSX dependencies
Bugfixes
-
Validate version format on formats 2+
-
Assume infinite terminal width when not running in a terminal
Thanks to @thaJeztah, @GeyseR, @kiniou, @yukihira1992, @benthorner, @chris-crone, @frenzymadness, @dependabot-preview[bot], @ndeloof, @ulyssessouza for contributing to this release!