Home Explore Blog CI



docker

29th chunk of `content/manuals/compose/releases/release-notes.md`
a17b6a2d7a6dd44b9b561ac5bf4486ef6b062b0b37f37a350000000100000fc6
- Used the docker-py default API version for engine queries (`auto`).

- Parsed `network_mode` on build.

### Bug fixes

- Ignored build context path validation when building is not required.

- Fixed float to bytes conversion via docker-py bump to 4.3.1.

- Fixed the scale bug when the deploy section is set.

- Fixed `docker-py` bump in `setup.py`.

- Fixed experimental build failure detection.

- Fixed context propagation to the Docker CLI.

### Miscellaneous

- Bumped `docker-py` to 4.3.1.

- Bumped `tox` to 3.19.0.

- Bumped `virtualenv` to 20.0.30.

- Added script for Docs synchronization.

## 1.26.2

(2020-07-02)

### Bug fixes

- Enforced `docker-py` 4.2.2 as minimum version when installing with pip.

## 1.26.1

(2020-06-30)

### Features

- Bumped `docker-py` from 4.2.1 to 4.2.2.

### Bug fixes

- Enforced `docker-py` 4.2.1 as minimum version when installing with pip.

- Fixed context load for non-docker endpoints.

## 1.26.0

(2020-06-03)

### Features

- Added `docker context` support.

- Added missing test dependency `ddt` to `setup.py`.

- Added `--attach-dependencies` to command `up` for attaching to dependencies.

- Allowed compatibility option with `COMPOSE_COMPATIBILITY` environment variable.

- Bumped `Pytest` to 5.3.4 and add refactor compatibility with the new version.

- Bumped `OpenSSL` from 1.1.1f to 1.1.1g.

- Bumped `certifi` from 2019.11.28 to 2020.4.5.1.

- Bumped `docker-py` from 4.2.0 to 4.2.1.

### Bug fixes

- Properly escaped values coming from `env_files`.

- Synchronized compose-schemas with upstream (docker/cli).

- Removed `None` entries on exec command.

- Added `distribution` package to get distribution information.

- Added `python-dotenv` to delegate `.env` file processing.

- Stopped adjusting output on terminal width when piped into another command.

- Showed an error message when `version` attribute is malformed.

- Fixed HTTPS connection when `DOCKER_HOST` is remote.

## 1.25.5

(2020-04-10)

### Features

- Bumped OpenSSL from 1.1.1d to 1.1.1f.

- Added Compose version 3.8.

  - Limited service scale to the size specified by the field `deploy.placement.max_replicas_per_node`.

## 1.25.4

(2020-02-03)

### Bug fixes

- Fixed the CI script to enforce the minimal MacOS version to 10.11.

- Fixed docker-compose exec for keys with no value on environment files.

## 1.25.3

(2020-01-23)

### Bug fixes

- Fixed the CI script to enforce the compilation with Python3.

- Updated the binary's sha256 on the release page.

## 1.25.2

(2020-01-20)

### New features

- Docker Compose now allows the compatibility option with `COMPOSE_COMPATIBILITY` environment variable.

### Bug fixes

- Fixed an issue that caused Docker Compose to crash when the `version` field was set to an invalid value. Docker Compose now displays an error message when invalid values are used in the version field.

- Fixed an issue that caused Docker Compose to render messages incorrectly when running commands outside a terminal.

## 1.25.1

(2020-01-06)

### Bugfixes

- Decoded the `APIError` explanation to Unicode before using it to create and start a container.

- Docker Compose discards `com.docker.compose.filepaths` labels that have `None` as value. This usually occurs when labels originate from stdin.

- Added OS X binary as a directory to solve slow start up time issues caused by macOS Catalina binary scan.

- Passed the `HOME` environment variable in container mode when running with `script/run/run.sh`.

- Docker Compose now reports images that cannot be pulled, however, are required to be built.

## 1.25.0

(2019-11-18)

### New features

- Set no-colors to true by changing `CLICOLOR` env variable to `0`.

- Added working directory, config files, and env file to service labels.

- Added ARM build dependencies.

- Added BuildKit support (use `DOCKER_BUILDKIT=1` and `COMPOSE_DOCKER_CLI_BUILD=1`).

- Raised Paramiko to version 2.6.0.

- Added the following tags: `docker-compose:latest`, `docker-compose:<version>-alpine`, and `docker-compose:<version>-debian`.

Title: Docker Compose Releases: 1.26.2 - 1.25.0
Summary
This document summarizes Docker Compose releases from 1.26.2 to 1.25.0. New features include Docker context support, compatibility options, Compose version 3.8 with service scale limits, and BuildKit support. Bug fixes address issues with environment variable escaping, malformed version attributes, HTTPS connections, and errors during container creation. Various dependencies such as Pytest, OpenSSL, certifi, and docker-py have been updated.