Home Explore Blog CI



docker

20th chunk of `content/manuals/compose/releases/release-notes.md`
691ad8b79830622dfd0ada3f36b74eafdd3e00e834d2aa32000000010000102e
## 2.10.1

{{< release-date date="2022-08-24" >}}

### Updates

- Dependencies update: Bumped github.com/moby/buildkit from [0.10.3 to 0.10.4](https://github.com/moby/buildkit/releases/tag/v0.10.4).

### Bug fixes and enhancements

- Fixed image pulls being skipped when `pull_policy` was not set. Fixes [compose#9773](https://github.com/docker/compose/issues/9773).
- Restored `.sha256` checksum files in release artifacts. Fixes [compose#9772](https://github.com/docker/compose/issues/9772).
- Removed error message showing exit code when using --exit-code-from. Fixes [compose#9782](https://github.com/docker/compose/issues/9782).
- Fixed `compose pull` to pull images even when they existed locally if `tag=latest`.
- CI: Fixed checksums checking and brought back individual checksum files.

For the full change log or additional information, check the [Compose repository 2.10.1 release page](https://github.com/docker/compose/releases/tag/v2.10.1).

## 2.10.0

{{< release-date date="2022-08-19" >}}

### New

- Applied newly loaded environment variables to `DockerCli` and `APIClient`. Fixes [compose#9210](https://github.com/docker/compose/issues/9210).
- Added support for windows/arm64 and linux/riscv64.

### Updates

- Updated Dockerfile syntax to latest stable and renamed docs Dockerfile.
- Dependencies update: Upgraded BuildKit & docker/distribution.
- Dependencies update: Updated Docker CLI version used in CI to v20.10.17.
- Dependencies update: Bumped github.com/containerd/containerd from [1.6.6 to 1.6.7](https://github.com/containerd/containerd/releases/tag/v1.6.7).
- Dependencies update: Bump github.com/containerd/containerd from [1.6.7 to 1.6.8](https://github.com/containerd/containerd/releases/tag/v1.6.8).
- Dependencies update: Bumped to Go 1.18.5.
- Dependencies update: Bumped github.com/cnabio/cnab-to-oci from [0.3.5 to 0.3.6](https://github.com/cnabio/cnab-to-oci/releases/tag/v0.3.6).

### Bug fixes and enhancements

- Reverted environment variables precedence to OS over `.env` file. Fixes [compose#9737](https://github.com/docker/compose/issues/9737).
- Updated usage strings for consistency.
- Resolved environment variables case-insensitively on Windows. Fixes [compose#9431](https://github.com/docker/compose/issues/9431).
- Fixed `compose up` so dependency containers aren't stopped when a stop signal is issued. This keeps parity with v1 behavior-wise.
- Fixes [compose#9696](https://github.com/docker/compose/issues/9696).
- Fixed commands that start/restart/pause/unpause so that, if ran from the Compose file, the Compose model is also applied. Fixes [compose#9705](https://github.com/docker/compose/issues/9705) and [compose#9705](https://github.com/docker/compose/issues/9671).
- Removed extra whitespaces in help text of some subcommands.
- Fixed `compose create` to not override service pull policy when the value from the command line is configured as the default. Fixes [compose#9717](https://github.com/docker/compose/issues/9717).
- Filtered out "commandConn.Close- warning" message. Fixes[compose#8544](https://github.com/docker/compose/issues/8544).
- Fixed up/start/run to not wait for disabled dependency. Fixes [compose#9591](https://github.com/docker/compose/issues/9591).
- Applied Compose model on `compose kill`, added `--remove-orphans` option. Fixes [compose#9742](https://github.com/docker/compose/issues/9742).
- Fixed `compose pull` to avoid pulling the same images multiple times. Fixes [compose#8768](https://github.com/docker/compose/issues/8768).
- Fixed version of golangci-lint to v1.47.3, issue with v1.48.0 for now.

For the full change log, check the [Compose repository 2.10.0 release page](https://github.com/docker/compose/releases/tag/v2.10.0).

## 2.9.0

{{< release-date date="2022-08-7" >}}

> [!IMPORTANT]
>
> Compose v2.9.0 contains changes to the environment variable's precedence that have since been reverted. We recommend using v2.10+ to avoid compatibility issues.

> [!NOTE]
>
> This release reverts the breaking changes introduced in [Compose v2.8.0](#280) by [`compose-go v1.3.0`](https://github.com/compose-spec/compose-go/releases/tag/v1.3.0).

Title: Docker Compose v2.10.1, v2.10.0 & v2.9.0 Release Notes: Bug Fixes, Dependency Updates, and Environment Variable Changes
Summary
Docker Compose releases versions v2.10.1, v2.10.0 and v2.9.0. Version 2.10.1 includes a dependency update for github.com/moby/buildkit, fixes for image pull skipping, restored checksum files, removal of exit code error messages, and improvements to `compose pull`. Version 2.10.0 introduces support for windows/arm64 and linux/riscv64, updates Dockerfile syntax, and updates dependencies like BuildKit, docker/distribution, containerd, and Go. It also includes bug fixes related to environment variable precedence, case-insensitive environment variables on Windows, and improvements to various compose commands. Version 2.9.0 had changes to environment variable precedence that were reverted and recommends using v2.10+.