If you're a Mac or Windows user, the best way to install Compose and keep it up-to-date is Docker for Mac and Windows.
Docker for Mac and Windows 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/1.23.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|
|2.2, 3.0, 3.1, 3.2||1.13.0+|
|2.3, 3.3, 3.4, 3.5||17.06.0+|
Reverted a 1.23.0 change that appended random strings to container names
docker-compose up, causing addressability issues.
Note: Containers created by
docker-compose runwill continue to use
randomly generated names to avoid collisions during parallel runs.
Fixed an issue where some
dockerfilepaths would fail unexpectedly when
attempting to build on Windows.
Fixed a bug where build context URLs would fail to build on Windows.
Fixed a bug that caused
execcommands to fail for some otherwise
accepted values of the
Fixed an issue where overrides for the
service definitions weren't properly applied.
Fixed a bug where some invalid Compose files would raise an uncaught
exception during validation.
Thanks to @shin- for contributing to this release!
|Binary name||SHA-256 sum|