Docker Compose - v2.22.0


💁🏻 Upgrade Notes

  • watch command is now GA and can be directly used from the root command docker compose watch

✨ Features

  • Experimental support of publish command (#10949)
  • watch now build and launch the project at start (#10957)
  • Add policy option to the --pull flag (#10981)

🐛 Fixes

  • Fix various race/deadlock conditions for up command on exit (#10934)
  • Fix for multi-plaform issues on build (#10956)
  • Enable services explicitly requested even if their profiles aren't activated (#10952)
  • Fix config bug when declared env_file are missing (#11025)

🔧 Internal

What's Changed

  • pkg/api: replace uuid for basic random id by @thaJeztah in https://github.com/docker/compose/pull/10953
  • up: fix various race/deadlock conditions on exit by @milas in https://github.com/docker/compose/pull/10934
  • build: pass BuildOptions around explicitly & fix multi-platform issues by @milas in https://github.com/docker/compose/pull/10956
  • Enable service explicitly requested to be restarted by @ndeloof in https://github.com/docker/compose/pull/10952
  • migrate to github.com/distribution/reference by @thaJeztah in https://github.com/docker/compose/pull/10954
  • doc: updated README.md to remove broken link by @kumarlokesh in https://github.com/docker/compose/pull/10966
  • introduce publish (alpha) command by @ndeloof in https://github.com/docker/compose/pull/10949
  • watch: build & launch the project at start by @milas in https://github.com/docker/compose/pull/10957
  • OTEL: adding flags to cli traces by @rvigus in https://github.com/docker/compose/pull/10974
  • cli: fix --build flag for create by @milas in https://github.com/docker/compose/pull/10982
  • deps: upgrade Moby to v24.0.6 and gRPC to v1.58.0 by @milas in https://github.com/docker/compose/pull/10991
  • ci: tweak restricted imports in linter by @milas in https://github.com/docker/compose/pull/10992
  • add scale command by @glours in https://github.com/docker/compose/pull/10979
  • update to go1.21.1 by @thaJeztah in https://github.com/docker/compose/pull/11000
  • don't rely on depends_on to resolve volume_from, better use observed state by @ndeloof in https://github.com/docker/compose/pull/10999
  • introduce pull --policy flag to only pull images not present in cache by @ndeloof in https://github.com/docker/compose/pull/10981
  • build(deps): bump github.com/containerd/containerd from 1.7.3 to 1.7.6 by @dependabot in https://github.com/docker/compose/pull/11016
  • build(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.1 by @dependabot in https://github.com/docker/compose/pull/11019
  • build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1 by @dependabot in https://github.com/docker/compose/pull/11020
  • build(deps): bump github.com/moby/buildkit from 0.12.1 to 0.12.2 by @dependabot in https://github.com/docker/compose/pull/11017
  • build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc4 to 1.1.0-rc5 by @dependabot in https://github.com/docker/compose/pull/11027
  • use official develop section to configure watch command by @ndeloof in https://github.com/docker/compose/pull/11026
  • implement publish by @ndeloof in https://github.com/docker/compose/pull/11008
  • TestWatch to use new develop section by @ndeloof in https://github.com/docker/compose/pull/11031
  • remove --timeout=0 flag to cleanup function of watch e2e test by @glours in https://github.com/docker/compose/pull/11023
  • move watch from alpha to main command by @glours in https://github.com/docker/compose/pull/11021
  • config --xx don't need env_file being parsed by @ndeloof in https://github.com/docker/compose/pull/11025

New Contributors

  • @kumarlokesh made their first contribution in https://github.com/docker/compose/pull/10966
  • @rvigus made their first contribution in https://github.com/docker/compose/pull/10974

Full Changelog: https://github.com/docker/compose/compare/v2.21.0...v2.22.0


Details

date
Sept. 21, 2023, 3:55 p.m.
name
v2.22.0
type
Minor
👇
Register or login to:
  • 🔍View and search all Docker Compose releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or