What's Changed
- Return an error when failing to list containers by @ulyssessouza in #8974
- compose logs to notify printer about container lifecycle events by @ndeloof in #8984
- Turn external volume usage into a warning instead of erroring by @ulyssessouza in #8983
- Use filepath instead of path to check if the dockerfile path is abolute or not by @glours in #8988
- Upgrade version of opencontainers/image-spec (security issue) by @glours in #8989
- Merge and fix Convert function from
docker/compose-switch
by @ulyssessouza in #8985
Full Changelog: v2.2.1...v2.2.2
What's Changed
- Fix to use Key instead of Service for graph updates by @Mygao in #8872
- Fix links resolution by @ulyssessouza in #8967
- Don't check compose labels on external volumes by @ndeloof in #8970
- Refactoring variable name by @ulyssessouza in #8972
- Add multiargs build e2e tests by @ulyssessouza in #8953
Full Changelog: v2.2.0...v2.2.1
What's Changed
- Better detect container will restart by @ndeloof in #8898
- Type mismatch checking tmpfs conflicting options by @ndeloof in #8904
- Remove unused flag by @ulyssessouza in #8923
- Use Dockerfile directly when path is absolute otherwise join it with Context path by @glours in #8929
- Interrupt printer when
compose log
is cancelled by @ndeloof in #8926 - Restore
compose build
to support context set as a git URL by @ndeloof in #8933 - Upgrade containerd version - security fix by @glours in #8936
- Don't SetRawTerminal when run is ran with -T by @ndeloof in #8938
- Fix typo in --wait option mechanism by @PierreAntoineGuillaume in #8888
- Detect volume we didn't created and ask user to explicitely mark them as external by @ndeloof in #8941
- Bump compose-go to v1.0.8 by @mat007 in #8956
- Don't normalize compose model in compatibility mode by @ndeloof in #8943
- Don't try to start services with 0 replicas by @akerouanton in #8834
- Introduce docker compose config --images by @ndeloof in #8955
- Introduce run —quiet-pull to align with up by @ndeloof in #8947
New Contributors
- @PierreAntoineGuillaume made their first contribution in #8888
Full Changelog: v2.1.1...v2.2.0
What's Changed
- Fix the maintainers array in MAINTAINERS by @rumpl in #8868
- Introduce up --wait condition by @ndeloof in #8777
- Don't exit on container destroy events by @sdt in #8859
- Update golang to 1.17 by @rumpl in #8873
- Support inherited environment vars on exec by @ulyssessouza in #8857
- Restore support for multiple build-args by @ndeloof in #8889
New Contributors
Full Changelog: v2.1.0...v2.1.1
What's Changed
- Fix support for devices by @ndeloof in #8732
- Make command descriptions consistent by @mat007 in #8739
- Restore missing version commands by @Shikachuu in #8738
- Add step in README to install on linux by @Yopadd in #8755
log --follow
must stop when container get killed by @ndeloof in #8726- Fix index out of range on
compose.buildContainerMountOptions
by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783
- Fix compose down --timeout/-t flag by @debdutdeb in #8788
- Fix network_mode "service:x" by @ulyssessouza in #8792
- Make service>build>dockerfile a simple filename by @ulyssessouza in #8779
- Compose exec cannot process more than 32KB of data by @resios in #8815
- Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816
- Fix project settings' options order by @ulyssessouza in #8819
- Update link to Docker Community Slack by @mat007 in #8824
- Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848
- COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847
- Add support for EnableIPv6 by @ndeloof in #8851
- Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858
- Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838
- Add support for classic builder by @ulyssessouza in #8818
- Fix typo: netwok -> network by @Mygao in #8789
- Bump compose-go to v1.0.5 by @ulyssessouza in #8870
New Contributors
- @Shikachuu made their first contribution in #8738
- @Yopadd made their first contribution in #8755
- @debdutdeb made their first contribution in #8788
- @resios made their first contribution in #8815
- @youssefeldakar made their first contribution in #8838
- @Mygao made their first contribution in #8789
Full Changelog: v2.0.1...v2.1.0
Features:
- Added support for running the plugin as a standalone program. Like
docker-compose
v1 would behave - compute sha256 checksums while releasing
Bugfixes:
- Allow combination of --status and --services
- Fix build cache_from option
- Fix
compose up
on README.md - Make
--status
a multi-flag - No longer fail when inferred
.env
is a directory
Misc
- Stop ticker after use on ttyWriter
- Use
uname -m
for cross platform suffixes - Add note about installing it system-wide
- Bump containerd 1.5.5
For backward compatibility with docker-compose v1.x, consider installing https://github.com/docker/compose-switch
Features:
- added support for
COMPOSE_IGNORE_ORPHANS
compose exec
andcompose down
don't need the original compose file (require--project-name
)- render port ranges as a group
- container names use hyphens to produce a valid hostname
- add support for
scale=0
- introduce
--compatibility
to support smooth(er) transition from V1 - introduce
compose config --output
flag (defaults to stdout) - add support for
build.network
andbuild.extrahosts
- ntroduce
compose up --attach
- fixes parsing compose file variables
- added support for multiline values in
.env
file
Bugfixes:
compose run
can receive stdin from another piped command- process local seccomp file set by
security_opt
- fix support for
compose run --label
- stop only the services that have been ran by
compose up
command compose config
escape$
signs to produce a valid compose file- fixed a concurrency issue with logs
- apply configured
container_name
when recreating containers compose run --volume
(mistakely renamed --volumes)- support
--entrypoint=""
andentrypoint: ""
to override Dockerfile'sENTRYPOINT
- stop
compose log --follow
onSIGINT
- fixed support for
bytes
values incompose.yaml
Features:
- Compose v2 is now hosted on github.com/docker/compose
Bugfixes:
- fix go panic on downscale using
compose up --scale
- fix race condition in
compose run --rm
capturing exit code - fix support for
volumes_from
incompose run
- multiple fixes regarding variables in compose.yaml and environment variables
- only build services set by
compose build SERVICE...
- consider
volumes_from
when computing dependent services
List of PRs / issues for this release
Miscellaneous
-
Remove prompt to use
docker compose
in theup
command -
Bump
py
to1.10.0
inrequirements-indirect.txt
List of PRs / issues for this release
Bugs
-
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