Home Explore Blog CI



docker

39th chunk of `content/manuals/compose/releases/release-notes.md`
a6a343d8dbed24b7eb46f67d3ed94afd65fa487efa1762b60000000100000fb2
  `0` as the value for the published port

## 1.15.0

(2017-07-26)

### New features

#### Compose file version 2.2

- Added support for the `network` parameter in build configurations.

#### Compose file version 2.1 and up

- The `pid` option in a service's definition now supports a `service:<name>`
  value.

- Added support for the `storage_opt` parameter in service definitions.
  This option is not available for the v3 format

#### All formats

- Added `--quiet` flag to `docker-compose pull`, suppressing progress output

- Some improvements to CLI output

### Bug fixes

- Volumes specified through the `--volume` flag of `docker-compose run` now
  complement volumes declared in the service's definition instead of replacing
  them

- Fixed a bug where using multiple Compose files would unset the scale value
  defined inside the Compose file.

- Fixed an issue where the `credHelpers` entries in the `config.json` file
  were not being honored by Compose

- Fixed a bug where using multiple Compose files with port declarations
  would cause failures in Python 3 environments

- Fixed a bug where some proxy-related options present in the user's
  environment would prevent Compose from running

- Fixed an issue where the output of `docker-compose config` would be invalid
  if the original file used `Y` or `N` values

- Fixed an issue preventing `up` operations on a previously created stack on
  Windows Engine.

## 1.14.0

(2017-06-19)

### New features

#### Compose file version 3.3

- Introduced version 3.3 of the `docker-compose.yml` specification.
  This version requires to be used with Docker Engine 17.06.0 or above.
  Note: the `credential_spec` and `configs` keys only apply to Swarm services
  and will be ignored by Compose

#### Compose file version 2.2

- Added the following parameters in service definitions: `cpu_count`,
  `cpu_percent`, `cpus`

#### Compose file version 2.1

- Added support for build labels. This feature is also available in the
  2.2 and 3.3 formats.

#### All formats

- Added shorthand `-u` for `--user` flag in `docker-compose exec`

- Differences in labels between the Compose file and remote network
  will now print a warning instead of preventing redeployment.

### Bug fixes

- Fixed a bug where service's dependencies were being rescaled to their
  default scale when running a `docker-compose run` command

- Fixed a bug where `docker-compose rm` with the `--stop` flag was not
  behaving properly when provided with a list of services to remove

- Fixed a bug where `cache_from` in the build section would be ignored when
  using more than one Compose file.

- Fixed a bug that prevented binding the same port to different IPs when
  using more than one Compose file.

- Fixed a bug where override files would not be picked up by Compose if they
  had the `.yaml` extension

- Fixed a bug on Windows Engine where networks would be incorrectly flagged
  for recreation

- Fixed a bug where services declaring ports would cause crashes on some
  versions of Python 3

- Fixed a bug where the output of `docker-compose config` would sometimes
  contain invalid port definitions

## 1.13.0

(2017-05-02)

### 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`.
  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

### Bug fixes

- Fixed a bug where paths provided to compose via the `-f` option were not
  being resolved properly

Title: Docker Compose Versions 1.15.0, 1.14.0 and 1.13.0: New Features and Bug Fixes
Summary
Docker Compose versions 1.15.0, 1.14.0, and 1.13.0 introduce new features and bug fixes. 1.15.0 adds `network` parameter, `pid` and `storage_opt` options, `--quiet` flag, and fixes issues with `--volume`, multiple files, `credHelpers`, and port declarations. 1.14.0 introduces Compose file version 3.3, `cpu_count`, `cpu_percent`, `cpus` parameters, build labels, shorthand `-u` flag, and fixes dependency rescaling, `docker-compose rm`, `cache_from`, port binding, override files, Windows Engine, and Python 3 crashes. 1.13.0 introduces Compose file version 2.2, `init` and `scale` definitions, `options` in `ipam`, and fixes path resolution with the `-f` option. 1.13.0 also has a breaking change where `docker-compose up` resets service scaling, replaced with the `--scale` option.