Update dockerfile
This MR contains the following updates:
Package | Update | Change |
---|---|---|
docker/compose | minor |
v2.16.0 -> v2.21.0
|
moby/moby | patch |
v23.0.1 -> v23.0.6
|
Release Notes
docker/compose (docker/compose)
v2.21.0
💁🏻 Upgrade Notes
- Format of
docker compose ps
anddocker compose ps --format=json
changed to better align withdocker ps
output (#10918)
✨ Features
- Support for multi-document YAML files (compose-spec/compose-go#451)
- Experimental support for loading remote Compose files from Git repos with
include
(#10811)
🐛 Fixes
- Fix for incorrect proxy variables during build (#10908)
- Fix for truncated container logs (#10925)
- Fix for "no such service" errors when using
include
and profiles (compose-spec/compose-go#448) - Fix for
.env
overrides when usinginclude
(compose-spec/compose-go#449)
🔧 Internal
- Upgrade to compose-go@v1.18.3
- Switch to
moby/patternmatcher/ignorefile
for.dockerignore
parsing (#10922)
What's Changed
- warn user secret uid/gid/mode is not supported by @ndeloof in https://github.com/docker/compose/pull/10904
- clone variable berfore we capture a pointer by @ndeloof in https://github.com/docker/compose/pull/10908
- up: handle various attach use cases better by @milas in https://github.com/docker/compose/pull/10910
- add support for git remote resources by @ndeloof in https://github.com/docker/compose/pull/10811
- build(deps): bump github.com/compose-spec/compose-go from 1.18.1 to 1.18.2 by @dependabot in https://github.com/docker/compose/pull/10915
- otel: add
include
to project up span by @milas in https://github.com/docker/compose/pull/10911 - container logs not sent line by line is broken by @ndeloof in https://github.com/docker/compose/pull/10925
- replace dockerfile/dockerignore with patternmatcher/ignorefile by @thaJeztah in https://github.com/docker/compose/pull/10922
- ci: bump golangci-lint to v1.54.2 by @milas in https://github.com/docker/compose/pull/10916
- watch: only allow a single instance per-project by @milas in https://github.com/docker/compose/pull/10931
- align
docker compose ps
withdocker ps
by @ndeloof in https://github.com/docker/compose/pull/10918 - added the dot at the end of the sentence by @ibilalkayy in https://github.com/docker/compose/pull/10936
- build(deps): upgrade to compose-go v1.18.3 by @milas in https://github.com/docker/compose/pull/10947
- test: e2e test reliability improvements by @milas in https://github.com/docker/compose/pull/10950
New Contributors
- @ibilalkayy made their first contribution in https://github.com/docker/compose/pull/10936
Full Changelog: https://github.com/docker/compose/compare/v2.20.3...v2.21.0
v2.20.3
What's Changed
✨
Enhancements - Watch: add tar sync implementation by @milas in https://github.com/docker/compose/pull/10853
- Improve buildkit node creation by @silvin-lubecki in https://github.com/docker/compose/pull/10843
- Display builder's name on the first build line. by @silvin-lubecki in https://github.com/docker/compose/pull/10881
- Improve shell completion for
--project-directory
by @relrelb in https://github.com/docker/compose/pull/10879 - Add shell completion for
--profile
by @relrelb in https://github.com/docker/compose/pull/10878
🐛
Fixes - Progress: minor correctness fixes by @milas in https://github.com/docker/compose/pull/10871
- Up: do not warn on successful optional dependency complete by @milas in https://github.com/docker/compose/pull/10870
- Build: fix missing proxy build args for classic builder by @milas in https://github.com/docker/compose/pull/10887
🔧
Internal - Trace: do not block connecting to OTLP endpoint by @milas in https://github.com/docker/compose/pull/10882
- Test: fix e2e test for privileged builds by @milas in https://github.com/docker/compose/pull/10873
- Test: temporarily disable an exit-code-from Cucumber test case by @milas in https://github.com/docker/compose/pull/10875
- Watch: support multiple containers for tar implementation by @milas in https://github.com/docker/compose/pull/10860
- Watch: batch & de-duplicate file events by @milas in https://github.com/docker/compose/pull/10865
- Watch: enable tar-based syncer by default by @milas in https://github.com/docker/compose/pull/10877
- Update Config comment in API Service interface by @prafgup in https://github.com/docker/compose/pull/10840
- Update README and CI workflows to match main branch by @glours in https://github.com/docker/compose/pull/10889
Dependencies ⚙️
- Build(deps): bump github.com/docker/cli from 24.0.4+incompatible to 24.0.5+incompatible by @dependabot in https://github.com/docker/compose/pull/10845
- Build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 by @dependabot in https://github.com/docker/compose/pull/10847
- Build(deps): bump github.com/containerd/containerd from 1.7.2 to 1.7.3 by @dependabot in https://github.com/docker/compose/pull/10850
- Build(deps): bump github.com/docker/docker from 24.0.5-0.20230714235725-36e9e796c6fc+incompatible to 24.0.5+incompatible by @dependabot in https://github.com/docker/compose/pull/10844
- Update to go1.20.7 by @thaJeztah in https://github.com/docker/compose/pull/10861
- Upgrade Golang to 1.21 by @glours in https://github.com/docker/compose/pull/10890
- Bump compose-go to version v1.18.0 by @glours in https://github.com/docker/compose/pull/10891
- Bump compose-go to version v1.18.1 by @glours in https://github.com/docker/compose/pull/10893
- Build(deps): bump github.com/moby/buildkit from 0.12.1-0.20230717122532-faa0cc7da353 to 0.12.1 by @dependabot in https://github.com/docker/compose/pull/10867
New Contributors
- @prafgup made their first contribution in https://github.com/docker/compose/pull/10840
- @relrelb made their first contribution in https://github.com/docker/compose/pull/10879
Full Changelog: https://github.com/docker/compose/compare/v2.20.2...v2.20.3
v2.20.2
What's Changed
✨
Enhancements - Add support of
depends_on.required
attribute by @glours in https://github.com/docker/compose/pull/10792
🐛
Fixes - Build: do not attempt to push unnamed service images by @milas in https://github.com/docker/compose/pull/10814
- check secret target is an absolute windows path by @ndeloof in https://github.com/docker/compose/pull/10819
🔧
Internal - trace: instrument
compose up
at a high-level by @milas in https://github.com/docker/compose/pull/10831 - test: watch e2e reliability tweaks by @milas in https://github.com/docker/compose/pull/10829
- pkg/compose: RunOneOffContainer: don't use NewStartOptions() by @thaJeztah in https://github.com/docker/compose/pull/10828
- watch: move sync logic into separate package by @milas in https://github.com/docker/compose/pull/10791
Dependencies ⚙️
Full Changelog: https://github.com/docker/compose/compare/v2.20.1...v2.20.2
v2.20.1
What's Changed
Dependencies ⚙️
- Go 1.20.6 (#10812)
- buildx v0.11.2 (#10827)
- BuildKit v0.12 (#10827)
- docker/cli v24.0.5-dev (#10827)
🔧
Internal
Full Changelog: https://github.com/docker/compose/compare/v2.20.0...v2.20.1
v2.20.0
What's Changed
✨
Enhancements - Add
docker compose wait
by @ulyssessouza in https://github.com/docker/compose/pull/10742 - Add support of --builder and BUILDX_BUILDER by @glours in https://github.com/docker/compose/pull/10745
- Support
attach
by @ndeloof in https://github.com/docker/compose/pull/10700 - Add support for
include
in https://github.com/compose-spec/compose-go/pull/416
🐛
Fixes - Don't use unitialized cli to setup DryRunClient by @ndeloof in https://github.com/docker/compose/pull/10770
- Network: fix random missing network when service has more than one by @milas in https://github.com/docker/compose/pull/10778
- Fix(secrets): file permission value does not comply with spec by @shantanoo-desai in https://github.com/docker/compose/pull/10784
- Apply no-deps before we select and mutate target service by @ndeloof in https://github.com/docker/compose/pull/10789
🔧
Internal - Fix some comments by @cuishuang in https://github.com/docker/compose/pull/10768
- When --index is not set select first service container by @ndeloof in https://github.com/docker/compose/pull/10763
- Test: fix process leak in wait e2e test by @milas in https://github.com/docker/compose/pull/10790
- CI: speed up a couple Dockerfile targets w/ cache mount by @milas in https://github.com/docker/compose/pull/10793
Bumps
- Build(deps): bump google.golang.org/grpc from 1.56.0 to 1.56.2 by @dependabot in https://github.com/docker/compose/pull/10787
- Deps: bump docker/cli-docs-tool to v0.6.0 by @milas in https://github.com/docker/compose/pull/10781
- Build(deps): bump gotest.tools/v3 from 3.4.0 to 3.5.0 by @dependabot in https://github.com/docker/compose/pull/10760
- Build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc3 to 1.1.0-rc4 by @dependabot in https://github.com/docker/compose/pull/10764
- Build(deps): bump github.com/docker/docker from 24.0.2+incompatible to 24.0.4+incompatible by @dependabot in https://github.com/docker/compose/pull/10788
- Build(deps): bump github.com/docker/buildx from 0.11.0 to 0.11.1 by @dependabot in https://github.com/docker/compose/pull/10776
New Contributors
- @cuishuang made their first contribution in https://github.com/docker/compose/pull/10768
- @shantanoo-desai made their first contribution in https://github.com/docker/compose/pull/10784
Full Changelog: https://github.com/docker/compose/compare/v2.19.1...v2.20.0
v2.19.1
😓
Known Issues - DNS resolution issues in services using multiple networks (#10777)
🐛
Bugfixes - Fix for "container not connected to network" errors when running
compose up
(#10756) - Default to project directory if
build.context
is not specified (see compose-spec/compose-spec#376) - Warn if using a bind mount in
watch
configuration (#10741)
Changelog
- add warning when a watch source is already used by a bind mount volume by @glours in https://github.com/docker/compose/pull/10741
- fix typos by @gocurr in https://github.com/docker/compose/pull/10740
- Fix capitalization error in sentence by adding an uppercase letter at… by @aroramrinaal in https://github.com/docker/compose/pull/10722
- up: fix race condition on network connect by @milas in https://github.com/docker/compose/pull/10756
- ci: upgrade compose-go to v1.15.1 by @milas in https://github.com/docker/compose/pull/10757
New Contributors
- @gocurr made their first contribution in https://github.com/docker/compose/pull/10740
- @aroramrinaal made their first contribution in https://github.com/docker/compose/pull/10722
Full Changelog: https://github.com/docker/compose/compare/v2.19.0...v2.19.1
v2.19.0
😓
Known Issues - Intermittent "container is not connected to the network " errors on
docker compose up
(#10668)
What's Changed
✨
Enhancements - introduce ability to select service to be stopped by
compose down
by @ndeloof in https://github.com/docker/compose/pull/10552 - use
--progress
to configure progress UI style by @ndeloof in https://github.com/docker/compose/pull/10690 - introduce run --cap-add to run maintenance commands using service image by @ndeloof in https://github.com/docker/compose/pull/10669
🐛
Fixes - fix detection of swarm mode by @ndeloof in https://github.com/docker/compose/pull/10591
- fix support for project name set by COMPOSE_PROJECT_NAME env var by @ndeloof in https://github.com/docker/compose/pull/10597
- fix display of volumes flag in down command help by @glours in https://github.com/docker/compose/pull/10616
- progress: remove errant import by @milas in https://github.com/docker/compose/pull/10614
- [fix]
up
should not silently ignore missing depends_on service by @ndeloof in https://github.com/docker/compose/pull/10602 - forward signal to container by @ndeloof in https://github.com/docker/compose/pull/10633
- detect network conflict as name is not guaranteed to be unique by @ndeloof in https://github.com/docker/compose/pull/10612
- Fix typo in warning about existing volume by @jfly in https://github.com/docker/compose/pull/10623
- fix
compose -p x logs -f
detect new services started after command by @ndeloof in https://github.com/docker/compose/pull/10622 - don't skip
compose
used as project name by @ndeloof in https://github.com/docker/compose/pull/10657 - create directory in container using
mkdir -p
by @ndeloof in https://github.com/docker/compose/pull/10652 - Do not set a default timeout of 10 seconds when restarting / stopping… by @robbert-ef in https://github.com/docker/compose/pull/10672
- don't apply "rebuild" watch strategy by default by @ndeloof in https://github.com/docker/compose/pull/10710
- fix race condition, waiting for containers when one exit by @ndeloof in https://github.com/docker/compose/pull/10725
- warn user build.secrets uid,gid,mode are not implemented by @ndeloof in https://github.com/docker/compose/pull/10709
🔧
Internal - only set CopyUIDGID when secret is requested to set gid/uid by @ndeloof in https://github.com/docker/compose/pull/10598
- only watch configured paths by @ndeloof in https://github.com/docker/compose/pull/10599
- sort containers by creation date to scale down the older ones by @ndeloof in https://github.com/docker/compose/pull/10571
- compute service hash with a default DeployConfig by @ndeloof in https://github.com/docker/compose/pull/10621
- Cuke tests for port conflicts by @nicksieger in https://github.com/docker/compose/pull/10627
- add Windows drive prefix to temp dir usage in the doc generation task by @glours in https://github.com/docker/compose/pull/10637
- update docs to reflect dry run mode is feature complete by @aevesdocker in https://github.com/docker/compose/pull/10604
- better diagnostic message on network label mismatch by @ndeloof in https://github.com/docker/compose/pull/10639
- assume we receive logs by lines and don't ignore those without EOL by @ndeloof in https://github.com/docker/compose/pull/10660
- ci: upgrade to Go 1.20.5 and Moby v24.x by @milas in https://github.com/docker/compose/pull/10662
- do not render
Building
when no build is needed by @ndeloof in https://github.com/docker/compose/pull/10620 - ci: merge Go coverage reports before upload by @milas in https://github.com/docker/compose/pull/10666
- trace: add OTEL initialization by @milas in https://github.com/docker/compose/pull/10526
- add GitHub action to trigger Docker Desktop e2e tests with Compose edge version by @glours in https://github.com/docker/compose/pull/10625
- use env instead of variables prefix to use DOCKERDESKTOP_APPID by @glours in https://github.com/docker/compose/pull/10685
- ci: add more ignore rules to dependabot by @milas in https://github.com/docker/compose/pull/10694
- escape containerimage.digest attribute in merge.yml GHA worlflow by @glours in https://github.com/docker/compose/pull/10691
- fix typo in merge workflow for DOCKERDESKTOP_APP_ID by @glours in https://github.com/docker/compose/pull/10698
- use directly DOCKERDESKTOP_APP_ID without env. prefix by @glours in https://github.com/docker/compose/pull/10701
- add vars. prefix to DOCKERDESKTOP_APP_ID by @glours in https://github.com/docker/compose/pull/10702
- specify origin repo in generation token step of docker desktop edge testing by @glours in https://github.com/docker/compose/pull/10703
- otel: fix initialization / error-handling by @milas in https://github.com/docker/compose/pull/10717
- add missing comma in desktop-edge-test job by @glours in https://github.com/docker/compose/pull/10724
- use main branch of Docker Desktop repo to trigger remote workflow by @glours in https://github.com/docker/compose/pull/10726
- trace: refactor root command span reporting by @milas in https://github.com/docker/compose/pull/10719
- ci: upgrade to buildx v0.11 by @milas in https://github.com/docker/compose/pull/10727
Bumps
- build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 by @dependabot in https://github.com/docker/compose/pull/10578
- go.mod: golang.org/x/oauth2 v0.1.0 by @thaJeztah in https://github.com/docker/compose/pull/10592
- build(deps): bump github.com/cloudflare/cfssl from 1.4.1 to 1.6.4 by @dependabot in https://github.com/docker/compose/pull/10572
- build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in https://github.com/docker/compose/pull/10582
- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in https://github.com/docker/compose/pull/10632
- bump buildx and use confutil.ConfigDir by @ndeloof in https://github.com/docker/compose/pull/10631
- ci: bump golangci-lint to v1.53.x by @milas in https://github.com/docker/compose/pull/10659
- build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 by @dependabot in https://github.com/docker/compose/pull/10653
- build(deps): bump github.com/Microsoft/go-winio from 0.5.2 to 0.6.1 by @dependabot in https://github.com/docker/compose/pull/10677
- build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 by @dependabot in https://github.com/docker/compose/pull/10715
- build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in https://github.com/docker/compose/pull/10699
- bump compose-go to version v1.15.0 by @glours in https://github.com/docker/compose/pull/10730
- build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.0 by @dependabot in https://github.com/docker/compose/pull/10720
New Contributors
- @aevesdocker made their first contribution in https://github.com/docker/compose/pull/10604
- @jfly made their first contribution in https://github.com/docker/compose/pull/10623
- @robbert-ef made their first contribution in https://github.com/docker/compose/pull/10672
Full Changelog: https://github.com/docker/compose/compare/v2.18.1...v2.19.0
v2.18.1
🐛 Fixes
- Fix for "Image not found" errors when running
up --build
(#10574)
What's Changed
- only check the platform of cached image if image found by @glours in https://github.com/docker/compose/pull/10575
Full Changelog: https://github.com/docker/compose/compare/v2.18.0...v2.18.1
v2.18.0
What's Changed
✨ Enhancements
- Dry run build command support by @glours in https://github.com/docker/compose/pull/10502
- First implementation of
viz
subcommand by @BenjaminGuzman in https://github.com/docker/compose/pull/10376 - introduce --no-path-resolution to skip relative path to be resolved by @ndeloof in https://github.com/docker/compose/pull/10557
- introduce
COMPOSE_ANSI
to define --ansi default value by @ndeloof in https://github.com/docker/compose/pull/10559 - introduce ability to write status messages on stdout by @ndeloof in https://github.com/docker/compose/pull/10549
🐛 Fixes
- don't block events loop collecting logs by @ndeloof in https://github.com/docker/compose/pull/10493
- restore support for
--memory
by @ndeloof in https://github.com/docker/compose/pull/10492 - TailMsgf must format with args by @ndeloof in https://github.com/docker/compose/pull/10478
- make progress title configurable by @glours in https://github.com/docker/compose/pull/10507
- stop containers after termination by @TP-O in https://github.com/docker/compose/pull/10479
- let user declare build secret target by @ndeloof in https://github.com/docker/compose/pull/10527
- fix buildkit progressui integration by @ndeloof in https://github.com/docker/compose/pull/10535
- Update
🥒 tests to usedockerfile_inline
by @laurazard in https://github.com/docker/compose/pull/10508 - fix container being recreated while config has not changed by @ndeloof in https://github.com/docker/compose/pull/10540
- fix race condition when --parallel is used with a large number of dependent services by @ndeloof in https://github.com/docker/compose/pull/10544
- check local image matches the required platform by @ndeloof in https://github.com/docker/compose/pull/10546
- restore long description to be included in
docker compose help
by @ndeloof in https://github.com/docker/compose/pull/10504 - fix local image removal when
compose down
is ran with--project-name
by @ndeloof in https://github.com/docker/compose/pull/10558 - detect active endpoint trying to remove network and skip with a warning by @ndeloof in https://github.com/docker/compose/pull/10555
- fix: remove unnecessary [] output by @ezradiniz in https://github.com/docker/compose/pull/10554
- detect terminal is not a
console.File
to avoid a panic by @ndeloof in https://github.com/docker/compose/pull/10564 - [fix] --parallel has precedence over COMPOSE_PARALLEL_LIMIT by @ndeloof in https://github.com/docker/compose/pull/10566
- report external network not found when swarm is disabled by @ndeloof in https://github.com/docker/compose/pull/10565
🔧 Internal
- update go to go1.20.4 by @thaJeztah in https://github.com/docker/compose/pull/10525
- build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 by @dependabot in https://github.com/docker/compose/pull/10489
- build(deps): bump github.com/docker/docker from 23.0.4+incompatible to 23.0.5+incompatible by @dependabot in https://github.com/docker/compose/pull/10500
- build(deps): bump github.com/docker/cli from 23.0.4+incompatible to 23.0.5+incompatible by @dependabot in https://github.com/docker/compose/pull/10501
- build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 by @dependabot in https://github.com/docker/compose/pull/10516
- build(deps): bump go.opentelemetry.io/otel from 1.14.0 to 1.15.0 by @dependabot in https://github.com/docker/compose/pull/10515
- build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3 by @dependabot in https://github.com/docker/compose/pull/10518
- build(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 by @dependabot in https://github.com/docker/compose/pull/10534
- build(deps): bump github.com/docker/cli from 23.0.5+incompatible to 23.0.6+incompatible by @dependabot in https://github.com/docker/compose/pull/10542
- build(deps): bump go.opentelemetry.io/otel from 1.15.0 to 1.15.1 by @dependabot in https://github.com/docker/compose/pull/10521
- build(deps): bump github.com/moby/term from 0.0.0-20221205130635-1aeaba878587 to 0.5.0 by @dependabot in https://github.com/docker/compose/pull/10523
New Contributors
- @BenjaminGuzman made their first contribution in https://github.com/docker/compose/pull/10376
- @ezradiniz made their first contribution in https://github.com/docker/compose/pull/10554
Full Changelog: https://github.com/docker/compose/compare/v2.17.3...v2.18.0
v2.17.3
💁🏻 Upgrade Notes (2.17.x)
- Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters,
-
, or_
and start with a letter/number) - Only YAML 1.2 boolean values (
true
/false
) are now accepted (deprecated YAML 1.1 values no longer supported:)y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF
- Duplicate mapping keys (
<<
) for merging YAML anchors are not allowed (see #10411)
What's Changed
✨ Enhancements
- add dry-run support to run command by @glours in https://github.com/docker/compose/pull/10404
- add dry-run support to create command by @glours in https://github.com/docker/compose/pull/10413
- add dry-run support to down command by @glours in https://github.com/docker/compose/pull/10444
- better support NO_COLOR by disabling colors, not ANSI TUI by @ndeloof in https://github.com/docker/compose/pull/10434
- can't watch a service without a build section by @ndeloof in https://github.com/docker/compose/pull/10433
🐛 Fixes
- workaround race condition in ContainerList by @ndeloof in https://github.com/docker/compose/pull/10409
- prevent panic using classic builder by @ndeloof in https://github.com/docker/compose/pull/10423
- restore
--timeout
flag renamed by mistake by @ndeloof in https://github.com/docker/compose/pull/10432 - ansi=auto|never|always by @ndeloof in https://github.com/docker/compose/pull/10442
🔧 Internal
- bump compose-go to v1.13.4 by @ndeloof in https://github.com/docker/compose/pull/10482
- ci: bump Go to 1.20.3 and various dependencies by @milas in https://github.com/docker/compose/pull/10437
- bump docker version to 23.0.3 (CVE-2023-28840) by @glours in https://github.com/docker/compose/pull/10438
- fix gocyclo lint error which currently block Compose CI by @glours in https://github.com/docker/compose/pull/10451
- go.mod: fix grouping of dependencies, and tidy by @thaJeztah in https://github.com/docker/compose/pull/10457
- log: fix race on container kill by @milas in https://github.com/docker/compose/pull/10459
- Don't use "info.IndexServerAddress" for authentication by @thaJeztah in https://github.com/docker/compose/pull/10458
- Remove redundant goroutine while removing containers by @TP-O in https://github.com/docker/compose/pull/10449
- build(deps): bump github.com/opencontainers/runc from 1.1.3 to 1.1.5 by @dependabot in https://github.com/docker/compose/pull/10455
- build(deps): bump github.com/docker/cli from 23.0.3+incompatible to 23.0.4+incompatible by @dependabot in https://github.com/docker/compose/pull/10475
- build(deps): bump github.com/docker/docker from 23.0.3+incompatible to 23.0.4+incompatible by @dependabot in https://github.com/docker/compose/pull/10474
New Contributors
- @TP-O made their first contribution in https://github.com/docker/compose/pull/10449
Full Changelog: https://github.com/docker/compose/compare/v2.17.2...v2.17.3
v2.17.2
💁🏻 Upgrade Notes (2.17.x)
- Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters,
-
, or_
and start with a letter/number) - Only YAML 1.2 boolean values (
true
/false
) are now accepted (deprecated YAML 1.1 values no longer supported:)y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF
- Duplicate mapping keys (
<<
) for merging YAML anchors are not allowed (see #10411)
😰 Known Issues
- For
docker compose up
, the flag long form--timeout
is broken (workaround: use short form-t
)
🐛 Fixes
- Fix "invalid project name" errors for projects in directories with uppercase or
.
(#10406)
🔧 Internal
- Update compose-go to v1.13.2
What's Changed
- ci: bump compose-go to v1.13.2 by @milas in https://github.com/docker/compose/pull/10406
Full Changelog: https://github.com/docker/compose/compare/v2.17.1...v2.17.2
v2.17.1
💁🏻 Upgrade Notes (2.17.x)
- Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters,
-
, or_
and start with a letter/number) - Only YAML 1.2 boolean values (
true
/false
) are now accepted (deprecated YAML 1.1 values no longer supported:)y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF
- Duplicate mapping keys (
<<
) for merging YAML anchors are not allowed (see #10411)
🐛 Fixes
- Panic while using
alpha watch
command (#10393) - Fix conflict with service named
extensions
(compose-go#255) - More consistent project name validation (compose-go#364)
🔧 Internal
What's Changed
- watch: data race / segfault fixes by @milas in https://github.com/docker/compose/pull/10393
- watch involves up --build after change has been detected by @ndeloof in https://github.com/docker/compose/pull/10399
- build(deps): bump github.com/moby/buildkit from 0.11.4 to 0.11.5 by @dependabot in https://github.com/docker/compose/pull/10400
- test: fix race in e2e build test by @milas in https://github.com/docker/compose/pull/10402
- ci: upgrade to Go 1.20.2 & bump deps by @milas in https://github.com/docker/compose/pull/10401
- test: fix e2e commands on Windows by @milas in https://github.com/docker/compose/pull/10403
Full Changelog: https://github.com/docker/compose/compare/v2.17.0...v2.17.1
v2.17.0
💁🏻 Upgrade Notes (2.17.x)
- Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters,
-
, or_
and start with a letter/number) - Only YAML 1.2 boolean values (
true
/false
) are now accepted (deprecated YAML 1.1 values no longer supported:)y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF
- Duplicate mapping keys (
<<
) for merging YAML anchors are not allowed (see #10411)
What's Changed
✨ Enhancements
- introduce --wait-timeout on
up
by @ndeloof in https://github.com/docker/compose/pull/10276 - sort service --hash output by service name by @ndeloof in https://github.com/docker/compose/pull/10278
- compact TUI to monitor layers download progress by @ndeloof in https://github.com/docker/compose/pull/10281
- introduce
restart
for depends_on by @ndeloof in https://github.com/docker/compose/pull/10284 - adopt http://no-color.org/ by @ndeloof in https://github.com/docker/compose/pull/10342
- progress writer uses dockercli.Err stream by @ndeloof in https://github.com/docker/compose/pull/10366
- ~introduce dockerfile_inline by @ndeloof in https://github.com/docker/compose/pull/10343~
- add support for
additional_contexts
inbuild
service config by @laurazard in https://github.com/docker/compose/pull/10369 - watch: add file delete/rename handling by @milas in https://github.com/docker/compose/pull/10386
- introduce
ignore
attribute for watch triggers by @ndeloof in https://github.com/docker/compose/pull/10385 - use progress to show copy status by @ndeloof in https://github.com/docker/compose/pull/10387
- update -p project name flag documentation by @glours in https://github.com/docker/compose/pull/10390
🐛 Fixes
- exclude unstable labels from config hash by @ndeloof in https://github.com/docker/compose/pull/10275
- also restart dependent services after a service has been restarted by @ndeloof in https://github.com/docker/compose/pull/10273
- ignore services without a build section by @ndeloof in https://github.com/docker/compose/pull/10271
- apply config options for pseudo-subcommands by @ndeloof in https://github.com/docker/compose/pull/10289
- only consider containers with config_hash labels (i.e, created by compose) by @ndeloof in https://github.com/docker/compose/pull/10317
- report error if project name is empty after normalization by @ndeloof in https://github.com/docker/compose/pull/10334
- restart only needed services by checking depends_on relations by @glours in https://github.com/docker/compose/pull/10338
- pad can be negative on small terminal by @ndeloof in https://github.com/docker/compose/pull/10336
- collect built image IDs by @ndeloof in https://github.com/docker/compose/pull/10372
- one off container name use configured Separator for naming by @ndeloof in https://github.com/docker/compose/pull/10357
- fix concurrent map read/write when recreating containers by @lrascao in https://github.com/docker/compose/pull/10379
🔧 Internal
- add dry-run support for
stop
andrm
by @glours in https://github.com/docker/compose/pull/10257 - add dry-run support for pull command by @glours in https://github.com/docker/compose/pull/10341
- add dry-run support for push command by @glours in https://github.com/docker/compose/pull/10355
- add dry-run support for
exec
command by @glours in https://github.com/docker/compose/pull/10252 - add dry-run support for
restart
by @glours in https://github.com/docker/compose/pull/10339 - ci: use CGO for tests to enable race detector by @milas in https://github.com/docker/compose/pull/10261
- ci: don't use
-race
on Windows by @milas in https://github.com/docker/compose/pull/10262 - ci: bump to Go 1.20.1 and latest deps by @milas in https://github.com/docker/compose/pull/10285
- use go 1.20 -cover support by @ndeloof in https://github.com/docker/compose/pull/10361
- build and push binaries images when a MR is merged or a tag pushed by @glours in https://github.com/docker/compose/pull/10371
- use CGO to enable fsevent on OSX [ENV-37] by @ndeloof in https://github.com/docker/compose/pull/10249
- watch: ignore ephemeral files & minor output tweaks by @milas in https://github.com/docker/compose/pull/10311
- test: tweak pause test to try and prevent failures in Windows CI by @milas in https://github.com/docker/compose/pull/10320
- preserve symbol table in binaries for static analysis (
govulncheck
) by @tianon in https://github.com/docker/compose/pull/10325 - use
build
as common API for build scenarios by @ndeloof in https://github.com/docker/compose/pull/10374
Changelog
- build(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.1 by @dependabot in https://github.com/docker/compose/pull/10279
- build(deps): bump github.com/docker/buildx from 0.10.2 to 0.10.3 by @dependabot in https://github.com/docker/compose/pull/10291
- build(deps): bump github.com/containerd/containerd from 1.6.17 to 1.6.18 by @dependabot in https://github.com/docker/compose/pull/10287
- bump golang/x/net to v0.7.0 (CVE-2022-41723) by @glours in https://github.com/docker/compose/pull/10302
- build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in https://github.com/docker/compose/pull/10316
- build(deps): bump go.opentelemetry.io/otel from 1.13.0 to 1.14.0 by @dependabot in https://github.com/docker/compose/pull/10329
- build(deps): bump github.com/containerd/containerd from 1.6.18 to 1.6.19 by @dependabot in https://github.com/docker/compose/pull/10330
- update compose-go by @ndeloof in https://github.com/docker/compose/pull/10335
- build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 by @dependabot in https://github.com/docker/compose/pull/10353
- build(deps): bump github.com/docker/buildx from 0.10.3 to 0.10.4 by @dependabot in https://github.com/docker/compose/pull/10352
New Contributors
- @tianon made their first contribution in https://github.com/docker/compose/pull/10325
- @lrascao made their first contribution in https://github.com/docker/compose/pull/10379
Full Changelog: https://github.com/docker/compose/compare/v2.16.0...v2.17.0
moby/moby (moby/moby)
v23.0.6
23.0.6
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
- Fix vfs storage driver not working on NFS. moby/moby#45465
Packaging Updates
- Upgrade Go to
1.19.9
. docker/docker-ce-packaging#889, docker/cli#4254, moby/moby#45455 - Upgrade
containerd
to v1.6.21 - Upgrade
runc
to v1.1.7
v23.0.5
23.0.5
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
- Add the
--all
/-a
option when pruning volumes. docker/cli#4229 - Add
--format=json
fordocker info
. docker/cli#4320 - Fix log loss with the AWSLogs log driver. moby/moby#45350
- Fix a regression introduced in v23.0.4 where dockerd would refuse to start if the fixed-cidr config parameter is provided but not bip. moby/moby#45403
- Fix a panic in libnetwork during daemon start moby/moby#45376
- Fix "tag" event not being sent when an image is built with
buildx
. moby/moby#45410
Packaging Updates
- Upgrade Compose to
2.17.3
. docker/docker-ce-packaging#883
v23.0.4
23.0.4
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
- Fix a performance regression in Docker CLI 23.0.0 docker/cli#4141.
- Fix progress indicator on
docker cp
not functioning as intended docker/cli#4157. - Fix shell completion for
docker compose --file
docker/cli#4177. - Fix an error caused by incorrect handling of "default-address-pools" in
daemon.json
moby/moby#45246.
Packaging Updates
- Fix missing packages for CentOS 9 Stream.
- Upgrade Go to
1.19.8
. docker/docker-ce-packaging#878, docker/cli#4164, moby/moby#45277, which contains fixes for CVE-2023-24537, CVE-2023-24538, CVE-2023-24534, and CVE-2023-24536
v23.0.3
23.0.3
Note
Due to an issue with CentOS 9 Stream's package repositories, packages for CentOS 9 are currently unavailable. Packages for CentOS 9 may be added later, or as part of the next (23.0.4) patch release.
Bug fixes and enhancements
- Fixed a number of issues that can cause Swarm encrypted overlay networks
to fail to uphold their guarantees, addressing CVE-2023-28841,
CVE-2023-28840, and
CVE-2023-28842.
- A lack of kernel support for encrypted overlay networks now reports as an error.
- Encrypted overlay networks are eagerly set up, rather than waiting for multiple nodes to attach.
- Encrypted overlay networks are now usable on Red Hat Enterprise Linux 9
through the use of the
xt_bpf
kernel module. - Users of Swarm overlay networks should review GHSA-vwm3-crmr-xfxw to ensure that unintentional exposure has not occurred.
Packaging Updates
v23.0.2
23.0.2
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
- Fully resolve missing checks for
apparmor_parser
when an AppArmor enabled kernel is detected. containerd/containerd#8087, moby/moby#45043 - Ensure that credentials are redacted from Git URLs when generating BuildKit buildinfo. Fixes CVE-2023-26054. moby/moby#45110
- Fix anonymous volumes created by a
VOLUME
line in a Dockerfile being excluded from volume prune. moby/moby#45159 - Fix a failure to properly propagate errors during removal of volumes on a Swarm node. moby/moby#45155
- Temporarily work around a bug in BuildKit
COPY --link
by disabling mergeop/diffop optimization. moby/moby#45112 - Properly clean up child tasks when a parent Swarm job is removed. moby/swarmkit#3112, moby/moby#45107
- Fix Swarm service creation logic so that both a GenericResource and a non-default network can be used together. moby/swarmkit#3082, moby/moby#45107
- Fix Swarm CSI support requiring the CSI plugin to offer staging endpoints in order to publish a volume. moby/swarmkit#3116, moby/moby#45107
- Fix a panic caused by log buffering in some configurations. containerd/fifo#47, moby/moby#45051
- Log errors in the REST to Swarm gRPC API translation layer at the debug level to reduce redundancy and noise. moby/moby#45016
- Fix a DNS resolution issue affecting containers created with
--dns-opt
or--dns-search
whensystemd-resolved
is used outside the container. moby/moby#45000 - Fix a panic when logging errors in handling DNS queries originating from inside a container. moby/moby#44980
- Improve the speed of
docker ps
by allowing users to opt out of size calculations with--size=false
. docker/cli#4107 - Extend support for Bash completion to all plugins. docker/cli#4092
- Fix
docker stack deploy
failing on Windows when special environment variables set bycmd.exe
are present. docker/cli#4083 - Add forward compatibility for future API versions by considering empty image tags to be the same as
<none>
. docker/cli#4065 - Atomically write context files to greatly reduce the probability of corruption, and improve the error message for a corrupt context. docker/cli#4063
Packaging
- Upgrade Go to
1.19.7
. docker/docker-ce-packaging#857, docker/cli#4086, moby/moby#45137 - Upgrade
containerd
tov1.6.19
. moby/moby#45084, moby/moby#45099 - Upgrade Buildx to
v0.10.4
. docker/docker-ce-packaging#855 - Upgrade Compose to
v2.17.2
. docker/docker-ce-packaging#867
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.