Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
docker-compose-Darwin-x86_64 | 2017-08-31 | 6.0 MB | |
docker-compose-Linux-x86_64 | 2017-08-31 | 8.9 MB | |
docker-compose-Windows-x86_64.exe | 2017-08-31 | 7.0 MB | |
run.sh | 2017-08-31 | 1.5 kB | |
1.16.0.tar.gz | 2017-08-30 | 253.1 kB | |
1.16.0.zip | 2017-08-30 | 359.6 kB | |
README.md | 2017-08-30 | 3.0 kB | |
Totals: 7 Items | 22.5 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.16.0/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.3 | 17.06.0+ |
3.0 – 3.2 | 1.13.0+ |
2.3 | 17.06.0+ |
2.2 | 1.13.0+ |
2.1 | 1.12.0+ |
2.0 | 1.10.0+ |
1.0 | 1.9.1+ |
Changes
New features
Compose file version 2.3
-
Introduced version 2.3 of the
docker-compose.yml
specification. This version requires to be used with Docker Engine 17.06.0 or above. -
Added support for the
target
parameter in network configurations -
Added support for the
start_period
parameter in healthcheck configurations
Compose file version 2.x
-
Added support for the
blkio_config
parameter in service definitions -
Added support for setting a custom name in volume definitions using the
name
parameter (not available for version 2.0)
All formats
- Added new CLI flag
--no-ansi
to suppress ANSI control characters in output
Bugfixes
-
Fixed a bug where nested
extends
instructions weren't resolved properly, causing "file not found" errors -
Fixed several issues with
.dockerignore
parsing -
Fixed issues where logs of TTY-enabled services were being printed incorrectly and causing
MemoryError
exceptions -
Fixed a bug where printing application logs would sometimes be interrupted by a
UnicodeEncodeError
exception on Python 3 -
The
$
character in the output ofdocker-compose config
is now properly escaped -
Fixed a bug where running
docker-compose top
would sometimes fail with an uncaught exception -
Fixed a bug where
docker-compose pull
with the--parallel
flag would return a0
exit code when failing -
Fixed an issue where keys in
deploy.resources
were not being validated -
Fixed an issue where the
logging
options in the output ofdocker-compose config
would be set tonull
, an invalid value -
Fixed the output of the
docker-compose images
command when an image would come from a private repository using an explicit port number -
Fixed the output of
docker-compose config
when a port definition used0
as the value for the published port
Thanks to @cecton, @albers, @lawliet89, @AlexeyRokhin, @NikitaVlaznev, @kirinrastogi, @jbarciauskas, @edsrzf and @carlwgeorge for contributing to this release!