Update dependency docker/docker to v27 #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
25.0.2→27.5.1Release Notes
docker/docker (docker/docker)
v27.5.1Compare Source
27.5.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
DOCKER_IGNORE_BR_NETFILTER_ERRORenvironment variable. Setting it to1allows running on hosts that cannot loadbr_netfilter. Some things won't work, including disabling inter-container communication in a bridge network. With the userland proxy disabled, it won't be possible to access one container's published ports from another container on the same network. moby/moby#49306Packaging updates
passt>= 2024_10_30.ee7d0b6. moby/moby#49304v27.5.0Compare Source
27.5.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bugfixes and enhancements
/buildendpoint. moby/moby#49194keepStoragevalue now inherit thedefaultKeepStoragelimit as intended. moby/moby#49137Go SDK
pkg/sysinfo: deprecateNumCPU. This utility has the same behavior asruntime.NumCPU. moby/moby#49247pkg/fileutils: deprecateGetTotalUsedFds: this function is only used internally and will be removed in the next release. moby/moby#49209pkg/ioutils: deprecateBytesPipe,NewBytesPipe,ErrClosed,WriteCounter,NewWriteCounter,NewReaderErrWrapper,NopFlusher,NopWriter,NopWriteCloser. They were only used internally and will be removed in the next release. moby/moby#49246, moby/moby#49255pkg/reexec: This package is deprecated and moved to a separate module. Usegithub.com/moby/sys/reexecinstead. moby/moby#49135Packaging updates
runcto v1.2.4 moby/moby#49243v27.4.1Compare Source
27.4.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
docker infocommand and the correspondingGET /infoAPI endpoint no longer include warnings whenbridge-nf-call-iptablesorbridge-nf-call-ip6tablesare disabled at the daemon is started. Thebr_netfilterkernel module is now attempted to be loaded when needed, which made those warnings inaccurate. moby/moby#49090ip6_tablesandbr_netfilterwhen required, using a method that is likely to succeed inside a Docker-in-Docker container. moby/moby#49043DOCKER FILTERchain not being cleaned up on failure. moby/moby#49110Deprecations
Lstat(),Mkdev(),Mknod(),FromStatT()andStat()functions, and relatedStatTtypes. These were only used internally, and will be removed in the next release. moby/moby#49100IPV,IptablesandIP6Tablestypes in favor ofIPVersion,IPv4, andIPv6. This type and consts will be removed in the next release. moby/moby#49093Passthrough. This function was only used internally, and will be removed in the next release. moby/moby#49119Packaging updates
runcto v1.2.3 (static packages only). moby/moby#49085v27.4.0Compare Source
27.4.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
API
GET /images/jsonwith themanifestsoption enabled now preserves the original order in which manifests appeared in the manifest-index. moby/moby#48712Bug fixes and enhancements
jsonfileorlocallog drivers, any errors while trying to read or parse underlying log files will cause the rest of the file to be skipped and move to the next log file (if one exists) rather than returning an error to the client and closing the stream. The errors are viewable in the Docker Daemon logs and exported to traces when tracing is configured. moby/moby#48842userland-proxydisabled, if the kernel'sbr_netfiltermodule was not loaded and enabled. The daemon will now attempt to load the module and enablebridge-nf-call-iptablesorbridge-nf-call-ip6tableswhen creating a network with the userland proxy disabled. moby/moby#48685bridgeandbr_netfilterkernel modules. moby/moby#48966docker image inspectoutputting duplicate references inRepoDigests. moby/moby#48785--mountoption not being marked as anonymous. moby/moby#48755DOCKER-USERchain is placed before other rules. moby/moby#48714docker image ls --tree. docker/cli#5519USEDcolumn indocker image ls --treetoIN USE. docker/cli#5518docker run. docker/cli#5654docker loginanddocker logoutcommand no longer update the configuration file if the credentials didn't change. docker/cli#5569docker statsto reduce flickering issues. docker/cli#5588, docker/cli#5635events --filterin cobra generated shell completions. docker/cli#5614events --filter daemon=. docker/cli#5563docker rm. docker/cli#5540--platformflags. docker/cli#5540/etc/cdiand/var/run/cdiaccessible by the Container Device Interface (CDI) integration. moby/moby#49027Removed
Daemon.Exists()andDaemon.IsPaused(). These functions are no longer used and will be removed in the next release. moby/moby#48719container.ErrNameReservedandcontainer.ErrNameNotReserved. moby/moby#48697pkg/platform- this package is only used internally, and will be removed in the next release. moby/moby#48863RepositoryInfo.Class. This field is no longer used, and will be removed in the next release. moby/moby#49013cli/command.ConfigureAuth(), which was deprecated since v27.2.1. docker/cli#5552cli.Errorstype in favour of Go'serrors.Joindocker/cli#5548Packaging updates
containerd(static binaries only) to v1.7.24. moby/moby#48919runcto v1.2.2. moby/moby#48919v27.3.1Compare Source
27.3.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
Packaging updates
Composeto v2.29.7v27.3.0Compare Source
27.3.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
docker image prune -auntagging images used by containers started from images referenced by a digested reference. moby/moby#48488--featureflag to the daemon options. moby/moby#48487--gpus=0flag to be consistent with the NVIDIA Container Runtime. moby/moby#48483(docker/cli#5432)
loopback0for packets from the Windows host. moby/moby#48514--iptables=false,--ip6tables=true(the default), a firewall with a DROP rule for forwarded packets on hosts where thebr_netfilterkernel module was not normally loaded. moby/moby#48511docker volume updatecommand would cause the CLI to panic if no argument/volume was passed. docker/cli#5426Packaging updates
containerd(static binaries only) to v1.7.22moby/moby#48468
Buildkitto v0.16.0Composeto v2.29.6Buildxto v0.17.1v27.2.1Compare Source
27.2.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
docker image lsoutput. moby/moby#48402docker pullerror message when the image platform doesn't match. moby/moby#48415docker loginto not remove repository names from passed in registry addresses, resulting in credentials being stored under the wrong key. docker/cli#5385docker loginnow returns an error instead of hanging if called non-interactively with--passwordor--password-stdinbut without--user. docker/cli#5402Packaging updates
runcto v1.1.14, which contains a fix for CVE-2024-45310. moby/moby#48426v27.2.0Compare Source
27.2.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
New
docker image lsnow supports--treeflag that shows a multiplatform-aware image list. This is experimental and may change at any time without any backwards compatibility. docker/cli#5353API
GET /images/jsonresponse now includesManifestsfield, which contains information about the sub-manifests included in the image index. This includes things like platform-specific manifests and build attestations.The new field will only be populated if the request also sets the
manifestsquery parameter totrue.Bug fixes and enhancements
--ip-rangeending on a 64-bit boundary. moby/moby#48326docker psin port bindings are now bracketed. docker/cli#5365docker loadin cases where unpacking the image would fail. moby/moby#48376docker pull. moby/moby#48380Packaging updates
v27.1.2Compare Source
27.1.2
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
ResourceExhausted desc = grpc: received message larger than maxerror when building from a large Dockerfile. moby/moby#48245docker attachprinting a spuriouscontext cancellederror message. docker/cli#5296docker attachexiting onSIGINTinstead of forwarding the signal to the container and waiting for it to exit. docker/cli#5302--device-read-bpsand--device-write-bpsoptions not taking effect. docker/cli#5339Packaging updates
docker-proxy.exebinary from Windows packages. docker/docker-ce-packaging#1045v27.1.1Compare Source
27.1.1
Security
This release contains a fix for CVE-2024-41110 / GHSA-v23v-6jw2-98fq
that impacted setups using authorization plugins (AuthZ)
for access control. No other changes are included in this release, and this
release is otherwise identical for users not using AuthZ plugins.
Packaging updates
Full Changelog: moby/moby@v27.1.0...v27.1.1
v27.1.0Compare Source
27.1.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
Requires=dbus.socketto prevent errors when starting the daemon on a cgroup v2 host with systemd moby/moby#48141image tagevent is now properly emitted when building images with BuildKit moby/moby#48182docker image rm,docker image history, anddocker image inspectmoby/moby#5261docker service createanddocker stackdocker/cli#5274DOCKER_CUSTOM_HEADERSenvironment variable (experimental) docker/cli#5271docker pushdefaulting the--platformflag to a value ofDOCKER_DEFAULT_PLATFORMenvironment variable on unsupported API versions docker/cli#5248loginprompt docker/cli#5260Deprecated
pkg/rootless/specconvpackage is deprecated, and will be removed in the next release moby/moby#48185pkg/containerfspackage is deprecated, and will be removed in the next release moby/moby#48185pkg/directorypackage is deprecated, and will be removed in the next release moby/moby#48185api/types/system: remove deprecatedInfo.ExecutionDrivermoby/moby#48184Packaging updates
Full Changelog: moby/moby@v27.0.3...v27.1.0
v27.0.3Compare Source
27.0.3
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
v27.0.2Compare Source
27.0.2
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Bug fixes and enhancements
Removed
ContainerJSONBase.Nodefield andContainerNodetype. These definitions were used by the standalone ("classic") Swarm API, but never implemented in the Docker Engine itself. moby/moby#48055v27.0.1Compare Source
27.0.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
New
--platformflag todocker image pushand improve the default behavior when not all platforms of the multi-platform image are available locally. docker/cli#4984, moby/moby#47679docker stack deployfordriver_optsin a service's networks. docker/cli#5125/usr/local/libexecand/usr/libexecpaths when looking up the userland proxy binaries by a name with adocker-prefix. moby/moby#47804Bug fixes and enhancements
*client.Clientinstances are now always safe for concurrent use by multiple goroutines. Previously, this could lead to data races when theWithAPIVersionNegotiation()option is used. moby/moby#47961$TMPDIRin some cases. docker/cli#5146--privileged. moby/moby#47500StartIntervaldefault value of healthcheck to reflect the documented value of 5s. moby/moby#47799docker saveanddocker loadnot ending on the daemon side when the operation was cancelled by the user, for example with Ctrl+C. moby/moby#47629StartedAtproperty of containers is now recorded before container startup, guaranteeing that theStartedAtis always beforeFinishedAt. moby/moby#47003nslookupto resolve external hostnames. This behaviour can be disabled viadaemon.json, using"features": { "windows-dns-proxy": false }. The configuration option will be removed in a future release. moby/moby#47826Networking
For example, on the command line in a
docker runcommand,--network mynet --sysctl net.ipv4.conf.eth0.log_martians=1will be rejected.Instead, you must use
--network name=mynet,driver-opt=com.docker.network.endpoint.sysctls=net.ipv4.conf.IFNAME.log_martians=1.IPv6
ip6tablesis no longer experimental. You may remove theexperimentalconfiguration option and continue to use IPv6, if it is not required by any other features.ip6tablesis now enabled for Linux bridge networks by default. moby/moby#47747ip6tablesenabled (new default).ip6tables, this is likely a breaking change. Only published container ports (-por--publish) are accessible from outside the Docker bridge network, and outgoing connections masquerade as the host.ip6tablesat all, set"ip6tables": falseindaemon.json, or use the CLI option--ip6tables=false. Alternatively, leaveip6tablesenabled, publish ports, and enable direct routing.ip6tablesenabled, ifip6tablesis not functional on your host, Docker Engine will start but it will not be possible to create an IPv6-enabled network.IPv6 network configuration improvements
default-address-poolsif this parameter wasn't manually configured, or if it contains no IPv6 prefixes. moby/moby#47853--subnetoption to specify an IPv6 subnet, or add IPv6 ranges todefault-address-poolsindaemon.json.--ipv6and no IPv6 subnet is defined by those options, an IPv6 Unique Local Address (ULA) base prefix is used.default-address-pools. moby/moby#47768"default-network-opts": { "bridge": {"com.docker.network.enable_ipv6": "true"}}indaemon.json, ordockerd --default-network-opt=bridge=com.docker.network.enable_ipv6=trueon the comand line. moby/moby#47867ip6tablesenabled. moby/moby#47871com.docker.network.bridge.gateway_mode_ipv6=<nat|routed>.nat, is unchanged from previous releases running withip6tablesenabled. NAT and masquerading rules are set up for each published container port.routed, no NAT or masquerading rules are configured for published ports. This enables direct IPv6 access to the container, if the host's network can route packets for the container's address to the host. Published ports will be opened in the container's firewall.routedmode, only addresses0.0.0.0or::are allowed and a host port must not be given.natorroutedmode, are accessible from any remote address if routing is set up in the network, unless the Docker host's firewall has additional restrictions. For example:docker network create --ipv6 -o com.docker.network.bridge.gateway_mode_ipv6=routed mynet.com.docker.network.bridge.gateway_mode_ipv4=<nat|routed>is also available, with the same behavior but for IPv4.docker-forwardingto allow forwarding from any zone to thedockerzone. This makes it possible to configure a bridge network with a routable IPv6 address, and no NAT or masquerading. moby/moby#47745-p 80will result in the same ephemeral port being allocated for0.0.0.0and::, and-p 8080-8083:80will pick the same port from the range for both address families.-p 127.0.0.1::80 -p '[::1]::80'.DOCKER_ALLOW_IPV6_ON_IPV4_INTERFACE, introduced in release 26.1.1, no longer has any effect. moby/moby#47963/proc/sys/net, the environment variable allowed the container to start anyway.--ipv6when creating it. Other workarounds are to configure the OS to disable IPv6 by default on new interfaces, mount/proc/sys/netread-write, or use a kernel with no IPv6 support.fe80::1. moby/moby#47787Removed
NewTempArchiveandTempArchive. These types were only used in tests and will be removed in the next release. moby/moby#48002CanonicalTarNameForPathmoby/moby#48001pkg/stringid.ValidateIDandpkg/stringid.IsShortIDmoby/moby#47995SetDefaultNetModeIfBlankand moveContainerConfigWrappertoapi/types/containermoby/moby#48007DefaultDaemonNetworkModeand move todaemon/networkmoby/moby#48008opts.ConvertKVStringsToMap. This utility is no longer used, and will be removed in the next release. moby/moby#48016IsPreDefinedNetwork. moby/moby#48011API
POST /images/{name}/pushnow supports aplatformparameter (JSON encoded OCI Platform type) that allows selecting a specific platform-manifest from the multi-platform image. This is experimental and may change in future API versions. moby/moby#47679POST /services/createandPOST /services/{id}/updatenow supportOomScoreAdj. moby/moby#47950ContainerListapi returns container annotations. moby/moby#47866POST /containers/createandPOST /services/createnow takeOptionsas part ofHostConfig.Mounts.TmpfsOptionsallowing to set options for tmpfs mounts. moby/moby#46809Healthcheck.StartIntervalproperty is now correctly ignored when updating a Swarm service using API versions less than v1.44. moby/moby#47991GET /eventsnow supports imagecreateevent that is emitted when a new image is built regardless if it was tagged or not. moby/moby#47929GET /infonow includes aContainerdfield containing information about the location of the containerd API socket and containerd namespaces used by the daemon to run containers and plugins. moby/moby#47239Configfield returned by this endpoint (used fordocker image inspect) returned additional fields that are not part of the image's configuration and not part of the Docker Image Spec and the OCI Image Spec. These fields are never set (and always return the default value for the type), but are not omitted in the response when left empty. As these fields were not intended to be part of the image configuration response, they are deprecated, and will be removed in the future API versions.--api-cors-headerand the correspondingdaemon.jsonconfiguration option. These will be removed in the next major release. moby/moby#45313The following deprecated fields are currently included in the API response, but are not part of the underlying image's
Config: moby/moby#47941HostnameDomainnameAttachStdinAttachStdoutAttachStderrTtyOpenStdinStdinOnceImageNetworkDisabled(already omitted unless set)MacAddress(already omitted unless set)StopTimeout(already omitted unless set)Go SDK changes
Client API callback for the following functions now require a context parameter. moby/moby#47536
client.RequestPrivilegeFuncclient.ImageSearchOptions.AcceptPermissionsFuncimage.ImportOptions.PrivilegeFuncRemove deprecated aliases for Image types. moby/moby#47900
ImageImportOptionsImageCreateOptionsImagePullOptionsImagePushOptionsImageListOptionsImageRemoveOptionsIntroduce
Ulimittype alias forgithub.com/docker/go-units.Ulimit.The
Ulimittype as used in the API is defined in a Go module that will transition to a new location in future.A type alias is added to reduce the friction that comes with moving the type to a new location.
The alias makes sure that existing code continues to work, but its definition may change in future.
Users are recommended to use this alias instead of the
units.Ulimitdirectly. moby/moby#48023Move and rename types, changing their import paths and exported names. moby/moby#47936, moby/moby#47873, moby/moby#47887, moby/moby#47882, moby/moby#47921, moby/moby#48040:
api/types/container:BlkioStatEntryBlkioStatsCPUStatsCPUUsageContainerExecInspectContainerPathStatContainerStatsContainersPruneReportCopyToContainerOptionsExecConfigExecStartCheckMemoryStatsNetworkStatsPidsStatsStatsJSONStatsStorageStatsThrottlingDataapi/types/image:ImagesPruneReportImageImportSourceImageLoadResponseExecStartOptionstype toapi/types/backend.VolumesPruneReporttype toapi/types/volume.EventsOptionstype toapi/types/events.ImageSearchOptionstype toapi/types/registry.Networkprefix and move the following types toapi/types/network:NetworkCreateResponseNetworkConnectNetworkDisconnectNetworkInspectOptionsEndpointResourceNetworkListOptionsNetworkCreateOptionsNetworkCreateRequestNetworksPruneReportNetworkResourcetoapi/types/network.Packaging updates
v26.1.5Compare Source
26.1.5
Security
This release contains a fix for CVE-2024-41110 / GHSA-v23v-6jw2-98fq
that impacted setups using authorization plugins (AuthZ)
for access control. No other changes are included in this release, and this
release is otherwise identical for users not using AuthZ plugins.
Full Changelog: moby/moby@v26.1.4...v26.1.5
v26.1.4Compare Source
26.1.4
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
Security
This release updates the Go runtime to 1.21.11 which contains security fixes for:
Bug fixes and enhancements
superfluous response.WriteHeader call ...messages.. moby/moby#47843ContextType: "moby"to the context list/inspect output to address a compatibility issue with Visual Studio Container Tools. docker/cli#5095Packaging updates
Configuration
📅 Schedule: Branch creation - "after 6am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.