Releases: docker/compose
Releases · docker/compose
v2.3.1
v2.3.0
What's Changed
- Don't wait forever for unhealthy dependencies by @benesch in #9092
- Add progress output while waiting for dependencies by @benesch in #9088
- Discard env_file section on convert/config by @ulyssessouza in #9101
- Return only numbers in short version by @guillaumerose in #9096
- Don't SetRawTerminal() when exec is run with -T by @x-yuri in #9113
- only remove volumes set by compose file by @ndeloof in #9074
- Set NetworkMode correctly according to network priorities by @laurazard in #9130
- go.mod: github.com/buger/goterm v1.0.4 by @thaJeztah in #9142
- Fix typo in
reference/compose_up.md
by @danBamikiya in #9164 - Fix pause/unpause by only applying to running containers by @ulyssessouza in #9137
- use CustomLabels for composeV2 metadata and not impact service hash by @ndeloof in #8960
- use golangci-lint-action by @ndeloof in #9183
- Adds support to list the config files on
docker compose ls
by @KoditkarVedant in #9175 - declare
--volume
as an alias for--volumes
by @ndeloof in #9182 - bump buildx to 0.7.1 by @ndeloof in #9189
- Wait and scale 0 by @glours in #9192
- Bump github.com/containerd/containerd from 1.5.8 to 1.6.0 by @dependabot in #9178
- COMPOSE_REMOVE_ORPHANS can be set to always apply --remove-orphans by @ndeloof in #9200
- Using start, stop, restart from outside the working directory using --project-name (#9147) by @arhemd in #9148
- exclude com.docker.compose.image label from service hash by @ndeloof in #9214
- Bump compose-go 1.0.9 by @ulyssessouza in #9146
- Bump compose-go 1.1.0 by @ulyssessouza in #9219
- Bump docker/distribution -> v2.8.0 by @ulyssessouza in #9221
- report external volume name not found by @ndeloof in #9217
- Bump github.com/containerd/containerd from 1.6.0 to 1.6.1 by @dependabot in #9225
- CONTRIBUTING.md file. Update slack sign-up link by @teror4uks in #9228
- Add function to convert strings to bool by @ulyssessouza in #9230
- Add -i and -t to run and exec by @ulyssessouza in #9229
New Contributors
- @benesch made their first contribution in #9092
- @x-yuri made their first contribution in #9113
- @laurazard made their first contribution in #9130
- @danBamikiya made their first contribution in #9164
- @KoditkarVedant made their first contribution in #9175
- @arhemd made their first contribution in #9148
- @teror4uks made their first contribution in #9228
Full Changelog: v2.2.3...v2.3.0
v2.2.3
What's Changed
compose images
should list images of created containers by @kiniou in #8990- Ignore missing (swarm) overlay networks by @ndeloof in #8999
- Remove intermediate containers when build succeeded in classic build by @notok in #9012
- compose ps: fix typo "unknow" -> "unknown" by @webignition in #9017
- Add 2 modes test mechanism by @ulyssessouza in #9007
- Handle "stop" event by @ndeloof in #9019
- Only kill running containers by @ulyssessouza in #9020
- compose cp doesn't need a full project and can copy from stopped containers by @ndeloof in #9004
- Add dependabot by @ulyssessouza in #9036
- Do not try to guess when to allocate a TTY and keep it as default by @ulyssessouza in #9035
- Bump github.com/golang/mock from 1.5.0 to 1.6.0 by @dependabot in #9042
- Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 by @dependabot in #9038
- Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1 by @dependabot in #9040
- Bump github.com/buger/goterm from 1.0.0 to 1.0.3 by @dependabot in #9047
- Propagate GroupAdd from ServiceConfig to HostConfig by @lancechentw in #8987
- Bump github.com/containerd/console from 1.0.2 to 1.0.3 by @dependabot in #9039
- Bump github.com/AlecAivazis/survey/v2 from 2.2.3 to 2.3.2 by @dependabot in #9048
- Added volume bind option SELinux label :z :Z by @tymonx in #9073
- Downgrade goterm to 1.0.1 by @ulyssessouza in #9080
New Contributors
- @notok made their first contribution in #9012
- @webignition made their first contribution in #9017
- @dependabot made their first contribution in #9042
- @lancechentw made their first contribution in #8987
- @tymonx made their first contribution in #9073
Full Changelog: v2.2.2...v2.2.3
v2.2.2
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
v2.2.1
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
v2.2.0
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
v2.1.1
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
v2.1.0
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
v2.0.1
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
v2.0.0
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