Skip to content

1.6.1

Compare
Choose a tag to compare
@dnephin dnephin released this 23 Feb 20:35

Note that Compose 1.6.1 requires Docker Engine 1.9.1 or later, or 1.10.0 if you're using version 2 of the Compose File format (see https://docs.docker.com/compose/compose-file/#versioning).

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

Alternatively, you can use the usual commands to install or upgrade:

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

Bug Fixes

  • Fixed a bug where recreating a container multiple times would cause the new container to be started without the previous volumes.
  • Fixed a bug where Compose would set the value of unset environment variables to an empty string, instead of a key without a value.
  • Provide a better error message when Compose requires a more recent version of the Docker API.
  • Add a missing config field network.aliases which allows setting a network scoped alias for a service.
  • Fixed a bug where run would not start services listed in depends_on.
  • Fixed a bug where networks and network_mode where not merged when using extends or multiple Compose files.
  • Fixed a bug with service aliases where the short container id alias was only contained 10 characters, instead of the 12 characters used in previous versions.
  • Added a missing log message when creating a new named volume.
  • Fixed a bug where build.args was not merged when using extends or multiple Compose files.
  • Fixed some bugs with config validation when null values or incorrect types were used instead of a mapping.
  • Fixed a bug where a build section without a context would show a stack trace instead of a helpful validation error message.
  • Improved compatibility with swarm by only setting a container affinity to the previous instance of a service's container when the service uses an anonymous container volume. Previously the affinity was always set on all containers.
  • Fixed the validation of driver_opts would cause an error if a number was used instead of a string.
  • Some improvements to the run.sh script used by the Compose container install option.
  • Fixed a bug with up --abort-on-container-exit where Compose would exit, but would not stop other containers.
  • Corrected the warning message that is printed when a boolean value is used as a value in a mapping.

Thanks @aanand, @shin-, @londoncalling, @sdurrheimer, @moxiegirl, @jrabbit, @cr7pt0gr4ph7, @nubs, @clkao, @dbonev, @AvdN, @albers