This release contains a security fix for [CVE-2024-29018], a potential data exfiltration from 'internal' networks via authoritative DNS servers.
New
Add Subpath field to the VolumeOptions making it possible to mount a subpath of a volume. moby/moby#45687
Add volume-subpath support to the mount flag (--mount type=volume,...,volume-subpath=<subpath>). docker/cli#4331
Accept = separators and [ipv6] in compose files for docker stack deploy. docker/cli#4860
rootless: Add support for enabling host loopback by setting the DOCKERD_ROOTLESS_ROOTLESSKIT_DISABLE_HOST_LOOPBACK environment variable to false (defaults to true). This lets containers connect to the host by using IP address 10.0.2.2. moby/moby#47352
containerd image store: docker image ls no longer creates duplicates entries for multi-platform images. moby/moby#45967
[CVE-2024-29018]: Do not forward requests to external DNS servers for a container that is only connected to an 'internal' network. Previously, requests were forwarded if the host's DNS server was running on a loopback address, like systemd's 127.0.0.53. moby/moby#47589
Ensure that a generated MAC address is not restored when a container is restarted, but a configured MAC address is preserved. moby/moby#47233
[!WARNING]
Containers created using Docker Engine 25.0.0 may have duplicate MAC addresses, they must be re-created.
Containers created using version 25.0.0 or 25.0.1 with user-defined MAC addresses will get generated MAC addresses when they are started using 25.0.2. They must also be re-created.
Always attempt to enable IPv6 on a container's loopback interface, and only include IPv6 in /etc/hosts if successful. moby/moby#47062
[!NOTE]
By default, IPv6 will remain enabled on a container's loopback interface when the container is not connected to an IPv6-enabled network.
For example, containers that are only connected to an IPv4-only network now have the ::1 address on their loopback interface.
To disable IPv6 in a container,
use option --sysctl net.ipv6.conf.all.disable_ipv6=1 in the create or run command,
or the equivalent sysctls option in the service configuration section of a Compose file.
If IPv6 is not available in a container because it has been explicitly disabled for the container,
or the host's networking stack does not have IPv6 enabled (or for any other reason)
the container's /etc/hosts file will not include IPv6 entries.
Fix ADD Dockerfile instruction failing with lsetxattr <file>: operation not supported when unpacking archive with xattrs onto a filesystem that doesn't support them. moby/moby#47175
Fix docker container start failing when used with --checkpoint. moby/moby#47456
... (truncated)
Commits
8b79278 Merge pull request #47599 from neersighted/short_id_aliases_removal
22726fb api: document changed behavior of the Aliases field in v1.45
963e1f3 Merge pull request #47597 from vvoland/c8d-list-fix-shared-size
3312b82 c8d/list: Add a test case for images sharing a top layer
ad8a5a5 c8d/list: Fix diffIDs being outputted instead of chainIDs
0c2d83b c8d/list: Handle unpacked layers when calculating shared size
330d777 Merge pull request #47591 from vvoland/api-1.45
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the go-dependencies group with 2 updates: github.com/GoogleContainerTools/kaniko and github.com/docker/docker.
Updates
github.com/GoogleContainerTools/kaniko
from 1.21.1 to 1.22.0Release notes
Sourced from github.com/GoogleContainerTools/kaniko's releases.
Changelog
Sourced from github.com/GoogleContainerTools/kaniko's changelog.
Commits
02860ef
chore(release): release v1.22.0 (#3086)a798fc9
chore(deps): bump github.com/docker/docker from 25.0.4+incompatible to 26.0.0...279053e
chore(deps): bump google.golang.org/api from 0.167.0 to 0.171.0 (#3082)1619608
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.25.3 to 1.26.0 (#3083)a952b1b
chore(deps): bump github.com/containerd/containerd from 1.7.13 to 1.7.14 (#3084)4ef48fe
chore(deps): bump docker/build-push-action from 5.2.0 to 5.3.0 (#3070)02f488a
Fix #3032: Remove query parameters in ADD command when the destinatio… (#3053)9095b45
Kaniko/add path regmaps [possible in registry maps and/or mirror] (#3051)cca3742
chore(deps): bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#3071)fcc800f
chore(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.0 (#3072)Updates
github.com/docker/docker
from 25.0.5+incompatible to 26.0.0+incompatibleRelease notes
Sourced from github.com/docker/docker's releases.
... (truncated)
Commits
8b79278
Merge pull request #47599 from neersighted/short_id_aliases_removal22726fb
api: document changed behavior of theAliases
field in v1.45963e1f3
Merge pull request #47597 from vvoland/c8d-list-fix-shared-size3312b82
c8d/list: Add a test case for images sharing a top layerad8a5a5
c8d/list: Fix diffIDs being outputted instead of chainIDs0c2d83b
c8d/list: Handle unpacked layers when calculating shared size330d777
Merge pull request #47591 from vvoland/api-1.453d2a56e
docs/api: add documentation for API v1.454531a37
Merge pull request #47580 from vvoland/c8d-list-slow731a640
c8d/list: Generate image summary concurrentlyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show