Impact Score: 5/10
Docker Compose 1.5.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.
⚡ Executive Summary (TL;DR)
Docker Compose 1.5.1. Source highlight: Note that Compose 1.5.1 requires Docker 1.7.1 or later.
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.
✨ New Features & Capabilities (3)
- Add the `--force-rm` option to `build`.
- Add the `ulimit` option for services in the Compose file.
- Add a warning when a `volume` in the Compose file is being ignored
⚡ Performance & Enhancements (2)
- Improve the output of `pull` when run without a tty.
- Improve validation error messages by including the filename as part of the
🔧 Bug Fixes & Patches (6)
- Fixed a bug where `up` would error with "service needs to be built" if
- Fixed a bug that would cause incorrect output of parallel operations
- Fixed a bug that prevented a container from being recreated when the
- Fixed a regression in 1.5.0 where non-utf-8 unicode characters would cause
- Fixed a regression in 1.5.0 where Compose would use a success exit status
- Fixed a regression in 1.5.0 where `name` was being accepted as a valid
📄 View Raw Release Notes (Original Developer Log)
Note that Compose 1.5.1 requires Docker 1.7.1 or later.
If you're a Mac user, the **[Docker Toolbox](https://www.docker.com/toolbox)** will install Compose 1.5.1 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.5.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
See the [install docs](http://docs.docker.com/compose/install/) for more install options and instructions.
## Here's what's new:
- Add the `--force-rm` option to `build`.
- Add the `ulimit` option for services in the Compose file.
- Fixed a bug where `up` would error with "service needs to be built" if
a service changed from using `image` to using `build`.
- Fixed a bug that would cause incorrect output of parallel operations
on some terminals.
- Fixed a bug that prevented a container from being recreated when the
mode of a `volumes_from` was changed.
- Fixed a regression in 1.5.0 where non-utf-8 unicode characters would cause
`up` or `logs` to crash.
- Fixed a regression in 1.5.0 where Compose would use a success exit status
code when a command fails due to an HTTP timeout communicating with the
docker daemon.
- Fixed a regression in 1.5.0 where `name` was being accepted as a valid
service option which would override the actual name of the service.
- When using `--x-networking` Compose no longer sets the hostname to the
container name.
- When using `--x-networking` Compose will only create the default network
if at least one container is using the network.
- When printing logs during `up` or `logs`, flush the output buffer after
each line to prevent buffering issues from hiding logs.
- Recreate a container if one of it's dependencies is being created.
Previously a container was only recreated if it's dependencies already
existed, but were being recreated as well.
- Add a warning when a `volume` in the Compose file is being ignored
and masked by a container volume from a previous container.
- Improve the output of `pull` when run without a tty.
- When using multiple Compose files, validate each before attempting to merge
them together. Previously invalid files would result in not helpful errors.
- Allow dashes in keys in the `environment` service option.
- Improve validation error messages by including the filename as part of the
error message.
Thanks @shin-, @mnowster, @aanand, @KevinGreene, @adrian-budau, @yvespp