Full Changelog: https://github.com/docker/compose/compare/v2.2.0...v2.2.1
compose log is cancelled by @ndeloof in https://github.com/docker/compose/pull/8926compose build to support context set as a git URL by @ndeloof in https://github.com/docker/compose/pull/8933Full Changelog: https://github.com/docker/compose/compare/v2.1.1...v2.2.0
Full Changelog: https://github.com/docker/compose/compare/v2.1.0...v2.1.1
log --follow must stop when container get killed by @ndeloof in https://github.com/docker/compose/pull/8726compose.buildContainerMountOptions by @ulyssessouza in https://github.com/docker/compose/pull/8750Full Changelog: https://github.com/docker/compose/compare/v2.0.1...v2.1.0
⚠️ Compose v2 architecture and installation instructions differ from v1, see README.md.
docker-compose v1 would behavecompose up on README.md--status a multi-flag.env is a directoryuname -m for cross platform suffixes⚠️ Compose v2 architecture and installation instructions differ from v1, see README.md. For backward compatibility with docker-compose v1.x, consider installing https://github.com/docker/compose-switch
COMPOSE_IGNORE_ORPHANScompose exec and compose down don't need the original compose file (require --project-name)scale=0--compatibility to support smooth(er) transition from V1compose config --output flag (defaults to stdout)build.network and build.extrahostscompose up --attach.env filecompose run can receive stdin from another piped commandsecurity_optcompose run --labelcompose up commandcompose config escape $ signs to produce a valid compose filecontainer_name when recreating containerscompose run --volume (mistakely renamed --volumes)--entrypoint="" and entrypoint: "" to override Dockerfile's ENTRYPOINTcompose log --follow on SIGINTbytes values in compose.yamlFeatures:
Bugfixes:
compose up --scalecompose run --rm capturing exit codevolumes_from in compose runcompose build SERVICE...volumes_from when computing dependent servicesList of PRs / issues for this release
Remove prompt to use docker compose in the up command
Bump py to 1.10.0 in requirements-indirect.txt
List of PRs / issues for this release
Fix for invalid handler warning on Windows builds
Fix config hash to trigger container recreation on IPC mode updates
Fix conversion map for placement.max_replicas_per_node
Remove extra scan suggestion on build
List of PRs / issues for this release
Add profile filter to docker-compose config
Add a depends_on condition to wait for successful service completion
Add image scan message on build
Update warning message for --no-ansi to mention --ansi never as alternative
Bump docker-py to 5.0.0
Bump PyYAML to 5.4.1
Bump python-dotenv to 0.17.0
List of PRs / issues for this release
Make --env-file relative to the current working directory and error out for invalid paths. Environment file paths set
with --env-file are relative to the current working directory while the default .env file is located in the project
directory which by default is the base directory of the Compose file.
Fix missing service property storage_opt by updating the compose schema
Fix build extra_hosts list format
Remove extra error message on exec
compose.yml and compose.yaml to default filename listList of PRs / issues for this release
Fix OpenSSL version mismatch error when shelling out to the ssh client (via bump to docker-py 4.4.4 which contains the fix)
Add missing build flags to the native builder: platform, isolation and extra_hosts
Remove info message on native build
Avoid fetching logs when service logging driver is set to 'none'
List of PRs / issues for this release
List of PRs / issues for this release
--no-log-prefix optionCOMPOSE_PROFILES instead of COMPOSE_PROFILERevert to Python 3.7 bump for Linux static builds
Add bash completion for docker-compose logs|up --no-log-prefix
Support for Nvidia GPUs via device requests
Support for service profiles
Change the SSH connection approach to the Docker CLI's via shellout to the local SSH client (old behaviour enabled by setting COMPOSE_PARAMIKO_SSH environment variable)
Add flag to disable log prefix
Add flag for ansi output control
Make parallel_pull=True by default
Bring back warning for configs in non-swarm mode
Take --file in account when defining project_dir
On compose up, attach only to services we read logs from
Make COMPOSE_DOCKER_CLI_BUILD=1 the default
Add usage metrics
Sync schema with COMPOSE specification
Improve failure report for missing mandatory environment variables
Bump attrs to 20.3.0
Bump more_itertools to 8.6.0
Bump cryptograhy to 3.2.1
Bump cffi to 1.14.4
Bump virtualenv to 20.2.2
Bump bcrypt to 3.2.0
Bump gitpython to 3.1.11
Bump docker-py to 4.4.1
Bump Python to 3.9
Linux: bump Debian base image from stretch to buster (required for Python 3.9)
macOS: OpenSSL 1.1.1g to 1.1.1h, Python 3.7.7 to 3.9.0
Bump pyinstaller 4.1
Loosen restriction on base images to latest minor
Updates of READMEs
COMPOSE_DOCKER_CLI_BUILD=1 the defaultdocker-compose up, attach only to services we read logs fromCOMPOSE_PARAMIKO_SSH environment variable)parallel_pull=True by default--file in account when defining project_dirRemove path checks for bind mounts
Fix port rendering to output long form syntax for non-v1
Add protocol to the docker socket address