⚠️ Breaking Change
Impact Score: 7/10
Docker Compose 1.13.0 - Release Notes & Engineering Impact
Source available - automated, not human-reviewed
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Breaking-change evidence from the source
Breaking changes - `docker-compose up` now resets a service's scaling to its default value.
⚡ Executive Summary (TL;DR)
Docker Compose 1.13.0. Source highlight: 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**.
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.
⚠️ Breaking Changes & Deprecations (1)
- Breaking changes - `docker-compose up` now resets a service's scaling to its default value.
✨ New Features & Capabilities (4)
- Introduced version 2.2 of the `docker-compose.yml` specification. This
- Added support for `init` in service definitions.
- Added support for `scale` in service definitions. The configuration's value
- Added support for `options` in the `ipam` section of network definitions
🔧 Bug Fixes & Patches (6)
- Fixed a bug where paths provided to compose via the `-f` option were not
- Fixed a bug where the `ext_ip::target_port` notation in the ports section
- Fixed an issue where the `exec` command would sometimes not return control
- Fixed a bug where secrets were missing from the output of the `config`
- Fixed an issue where `docker-compose` would hang if no internet connection
- Fixed an issue where paths containing unicode characters passed via the `-f`
📄 View Raw Release Notes (Original Developer Log)
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](https://www.docker.com/products/docker)**.
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.13.0/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.
## Compose file format compatibility matrix
| Compose file format | Docker Engine |
| --- | --- |
| 3.0 – 3.2 | 1.13.0+ |
| 2.2 | 1.13.0+ |
| 2.1 | 1.12.0+ |
| 2.0 | 1.10.0+ |
| 1.0 | 1.9.1+ |
## Changes
### Breaking changes
- `docker-compose up` now resets a service's scaling to its default value.
You can use the newly introduced `--scale` option to specify a custom
scale value
### New features
#### Compose file version 2.2
- Introduced version 2.2 of the `docker-compose.yml` specification. This
version requires to be used with Docker Engine 1.13.0 or above
- Added support for `init` in service definitions.
- Added support for `scale` in service definitions. The configuration's value
can be overridden using the `--scale` flag in `docker-compose up`.
Please note that the `scale` command is disabled for this file format
#### Compose file version 2.x
- Added support for `options` in the `ipam` section of network definitions
### Bugfixes
- Fixed a bug where paths provided to compose via the `-f` option were not
being resolved properly
- Fixed a bug where the `ext_ip::target_port` notation in the ports section
was incorrectly marked as invalid
- Fixed an issue where the `exec` command would sometimes not return control
to the terminal when using the `-d` flag
- Fixed a bug where secrets were missing from the output of the `config`
command for v3.2 files
- Fixed an issue where `docker-compose` would hang if no internet connection
was available
- Fixed an issue where paths containing unicode characters passed via the `-f`
flag were causing Compose to crash
- Fixed an issue where the output of `docker-compose config` would be invalid
if the Compose file contained external secrets
- Fixed a bug where using `--exit-code-from` with `up` would fail if Compose
was installed in a Python 3 environment
- Fixed a bug where recreating containers using a combination of `tmpfs` and
`volumes` would result in an invalid config state
Thanks to @sdurrheimer, @albers, @kinghuang, @fate-grand-order and @brainnwaveDuncan for contributing to this release!