Home Explore Blog CI



docker

28th chunk of `content/manuals/compose/releases/release-notes.md`
ade85171176f7989ff83214ecb0ca18cc746994b0703cb890000000100000fc7
- Add bash completion for `docker-compose logs|up --no-log-prefix`

### Miscellaneous

- CI setup update

## 1.28.0

(2021-01-20)

### Features

- Added support for NVIDIA GPUs through device requests.

- Added support for service profiles.

- Changed the SSH connection approach to the Docker CLI by shelling out to the local SSH client. Set the `COMPOSE_PARAMIKO_SSH=1` environment variable to enable the old behavior.

- Added a flag to disable log prefix.

- Added a flag for ANSI output control.

- Docker Compose now uses the native Docker CLI's `build` command when building images. Set the `COMPOSE_DOCKER_CLI_BUILD=0` environment variable to disable this feature.

### Bug fixes

- Made `parallel_pull=True` by default.

- Restored the warning for configs in non-swarm mode.

- Took `--file` into account when defining `project_dir`.

- Fixed a service attach bug on `compose up`.

### Miscellaneous

- Added usage metrics.

- Synced schema with COMPOSE specification.

- Improved failure report for missing mandatory environment variables.

- Bumped `attrs` to 20.3.0.

- Bumped `more_itertools` to 8.6.0.

- Bumped `cryptograhy` to 3.2.1.

- Bumped `cffi` to 1.14.4.

- Bumped `virtualenv` to 20.2.2.

- Bumped `bcrypt` to 3.2.0.

- Bumped GitPython to 3.1.11.

- Bumped `docker-py` to 4.4.1.

- Bumped Python to 3.9.

- Linux: bumped Debian base image from stretch to buster (required for Python 3.9).

- macOS: Bumped OpenSSL 1.1.1g to 1.1.1h, and Python 3.7.7 to 3.9.0.

- Bumped PyInstaller to 4.1.

- Relaxed the restriction on base images to latest minor.

- Updated READMEs.

## 1.27.4

(2020-09-24)

### Bug fixes

- Removed path checks for bind mounts.

- Fixed port rendering to output long form syntax for non-v1.

- Added protocol to the Docker socket address.

## 1.27.3

(2020-09-16)

### Bug fixes

- Merged `max_replicas_per_node` on `docker-compose config`.

- Fixed `depends_on` serialization on `docker-compose config`.

- Fixed scaling when some containers are not running on `docker-compose up`.

- Enabled relative paths for `driver_opts.device` for `local` driver.

- Allowed strings for `cpus` fields.

## 1.27.2

(2020-09-10)

### Bug fixes

- Fixed bug on `docker-compose run` container attach.

## 1.27.1

(2020-09-10)

### Bug fixes

- Fixed `docker-compose run` when `service.scale` is specified.

- Allowed the `driver` property for external networks as a temporary workaround for the Swarm network propagation issue.

- Pinned the new internal schema version to `3.9` as the default.

- Preserved the version number configured in the Compose file.

## 1.27.0

(2020-09-07)

### Features

- Merged 2.x and 3.x Compose formats and aligned with `COMPOSE_SPEC` schema.

- Implemented service mode for `ipc`.

- Passed `COMPOSE_PROJECT_NAME` environment variable in container mode.

- Made `run` behave in the same way as `up`.

- Used `docker build` on `docker-compose run` when `COMPOSE_DOCKER_CLI_BUILD` environment variable is set.

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

Title: Docker Compose Releases: 1.28.0 - 1.26.0
Summary
This document summarizes Docker Compose releases from 1.28.0 to 1.26.0. Highlights include NVIDIA GPU and service profile support, SSH connection changes, ANSI output control, and integration with the native Docker CLI build command. Bug fixes address issues with parallel pull, non-swarm mode configs, project directory definitions, and service attachments. Other features include context support and various dependency bumps, notably Python 3.9.