Docker Compose 1.6.1stable Released Feb 23, 2016
Impact Score: 5/10

Docker Compose 1.6.1 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Docker Compose 1.6.1. Source highlight: 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).

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

📊 Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

⚙️ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

🔧 Bug Fixes & Patches (6)

  • 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.
📄 View Raw Release Notes (Original Developer Log)
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](https://www.docker.com/products/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](https://docs.docker.com/compose/install/) 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