Skip to content

1.6.0 RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@aanand aanand released this 27 Jan 02:18

Note that Compose 1.6.0 requires Docker 1.9.1 or later.

If you're a Mac or Windows user, the Docker Toolbox will install Compose 1.6.0 for you, alongside the latest versions of the Docker Engine, Machine and Kitematic.

You can use the usual commands to install or upgrade:

curl -L https://github.com/docker/compose/releases/download/1.6.0-rc2/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.

On top of RC1's considerable list of changes, RC2 contains the following:

  • links and external_links are now supported in the version 2 file format.
  • Added the depends_on key for expressing dependencies between services without creating links.
  • Added the network_mode key in the version 2 format as a replacement for version 1's net.
  • Containers now join networks with an additional alias: a short version of the container id.
  • Fixed a bug where multiple volumes (both prefixed with the project name and un-prefixed) would be created when a named volume was mounted into a service.
  • Configuration under the networks key is now properly validated.
  • Fixed a bug where containers started with docker-compose run didn't join networks defined for their service in docker-compose.yml.
  • Fixed a docker-compose scale bug which would cause all containers to be removed if they exited immediately.
  • Fixed a bug where extends didn't work in the version 2 format.
  • Fixed "name is reserved" errors when running against Docker 1.10.0 RC1.
  • Fixed a confusing error message when DOCKER_CERT_PATH was not set properly.
  • Fixed a bug where attaching to a container would fail if it was using a non-standard logging driver (or none at all).
  • Fixed various bugs with zsh completion.

Thanks @dnephin, @shin-, @sdurrheimer, @schmunk42, @jzvelc, @dbonev and @alf!