Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
docker-compose-Darwin-x86_64 | 2017-04-21 | 5.5 MB | |
docker-compose-Linux-x86_64 | 2017-04-21 | 8.3 MB | |
docker-compose-Windows-x86_64.exe | 2017-04-21 | 6.4 MB | |
run.sh | 2017-04-21 | 1.4 kB | |
1.13.0-rc1.tar.gz | 2017-04-21 | 240.7 kB | |
1.13.0-rc1.zip | 2017-04-21 | 336.4 kB | |
README.md | 2017-04-21 | 2.4 kB | |
Totals: 7 Items | 20.7 MB | 0 |
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.13.0-rc1/docker-compose-`uname -s`-`uname -m` > /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 |
---|---|
3.0 – 3.2 | 1.13.0+ |
2.2 | 1.13.0+ |
2.1 | 1.12.0+ |
2.0 | 1.10.0+ |
1.0 | 1.9.1+ |
Changes
Breaking changes
docker-compose up
now resets a service's scaling to its default value. You can use the newly introduced--scale
option to specify a custom scale value
New features
Compose file version 2.2
-
Introduced version 2.2 of the
docker-compose.yml
specification. This version requires to be used with Docker Engine 1.13.0 or above -
Added support for
init
in service definitions. -
Added support for
scale
in service definitions. The configuration's value can be overridden using the--scale
flag indocker-compose up
. Please note that thescale
command is disabled for this file format
Compose file version 2.x
- Added support for
options
in theipam
section of network definitions
Bugfixes
-
Fixed a bug where paths provided to compose via the
-f
option were not being resolved properly -
Fixed a bug where the
ext_ip::target_port
notation in the ports section was incorrectly marked as invalid -
Fixed an issue where the
exec
command would sometimes not return control to the terminal when using the-d
flag -
Fixed a bug where secrets were missing from the output of the
config
command for v3.2 files -
Fixed an issue where
docker-compose
would hang if no internet connection was available -
Fixed an issue where paths containing unicode characters passed via the
-f
flag were causing Compose to crash
Thanks to @sdurrheimer, @albers, @kinghuang and @fate-grand-order for contributing to this release!