v26.0.0-rc1
Pre-release
Pre-release
26.0.0-rc1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
- docker/cli, 26.0.0 milestone
- moby/moby, 26.0.0 milestone
- Deprecated and removed features, see Deprecated Features.
- Changes to the Engine API, see API version history.
New
- Add
Subpath
field to theVolumeOptions
making it possible to mount a subpath of a volume. moby/moby#45687 - Add
volume-subpath
option to mount flag (--mount type=volume,...,volume-subpath=<subpath>
) docker/cli#4331 - containerd image store:
image list
will no longer produce multiple duplicates image entries for multi-platform images moby/moby#45967 - Accept
=
separators and[ipv6]
in compose files fordocker stack deploy
docker/cli#4860
Bug fixes and enhancements
- Fix
ADD
Dockerfile instruction failing withlsetxattr <file>: operation not supported
when unpacking archive with xattrs onto a filesystem that doesn't support them. moby/moby#47175 - Fix
docker start
failing when used with--checkpoint
moby/moby#47456 - Always try to enable IPv6 on a container's loopback interface, and only include IPv6 in '/etc/hosts' if successful. moby/moby#47062
- Restore IP connectivity between the host and containers on an internal bridge network. moby/moby#47356
- Do not enforce new validation rules for existing swarm networks moby/moby#47361
- Restore DNS names for containers in the default "nat" network on Windows. moby/moby#47375
- Print hint when invoking "docker images" with ambiguous argument docker/cli#4849
- Cleanup
@docker_cli_[UUID]
files on OpenBSD docker/cli#4862 - containerd image store: Isolate images with different containerd namespaces when
--userns-remap
option is used moby/moby#46786 - containerd image store: Fix image pull not emitting
Pulling fs layer
status moby/moby#47432 - Ensure that a generated MAC address is not restored when a container is restarted, but a configured MAC address is preserved. moby/moby#47233
Note
Containers created using 25.0.0 may have duplicate MAC addresses, they must be re-created.
Containers created using 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.
API
- To preserve backwards compatibility, read-only mounts are not recursive by default when using older clients (API version < v1.44). moby/moby#47391
GET /images/{id}/json
omits theCreated
field (previously it was0001-01-01T00:00:00Z
) if theCreated
field is missing from the image config. moby/moby#47451- Populate a missing
Created
field inGET /images/{id}/json
with0001-01-01T00:00:00Z
for API version <= 1.43. moby/moby#47387
Packaging updates
- Upgrade Go runtime to 1.21.7. moby/moby#47385
- Update BuildKit to v0.13.0-rc3 moby/moby#47364
- Update containerd binary to v1.7.13 moby/moby#47278
- Update runc binary to v1.1.12 moby/moby#47268
- Update Rootlesskit to v2.0.1 moby/moby#47332
- Update OTEL to v0.46.1 / v1.21.0 moby/moby#47245
Removed
- Disable pulling of deprecated image formats by default. These image formats are deprecated, and support will be removed in a future version. moby/moby#47459
- image: remove deprecated IDFromDigest moby/moby#47198
- Removed the deprecated
github.com/docker/docker/pkg/loopback
package. moby/moby#47128 - pkg/system: remove deprecated
ErrNotSupportedOperatingSystem
,IsOSSupported
moby/moby#47129 - pkg/homedir: remove deprecated Key() and GetShortcutString() moby/moby#47130
- pkg/containerfs: remove deprecated ResolveScopedPath moby/moby#47131
- The daemon flag
--oom-score-adjust
has been deprecated in v24.0 and is now removed. moby/moby#46113 - API: remove deprecated API versions (API < v1.24) moby/moby#47155
- Remove deprecated aliases from the api/types package. These types were deprecated in v25.0.0, which provided temporary aliases. moby/moby#47148
These aliases are now removed:types.Info
,types.Commit
,types.PluginsInfo
,types.NetworkAddressPool
,types.Runtime
,types.SecurityOpt
,types.KeyValue
,types.DecodeSecurityOptions
,types.CheckpointCreateOptions
,types.CheckpointListOptions
,types.CheckpointDeleteOptions
,types.Checkpoint
,types.ImageDeleteResponseItem
,types.ImageSummary
,types.ImageMetadata
,types.ServiceUpdateResponse
,types.ServiceCreateResponse
,types.ResizeOptions
,types.ContainerAttachOptions
,types.ContainerCommitOptions
,types.ContainerRemoveOptions
,types.ContainerStartOptions
,types.ContainerListOptions
,types.ContainerLogsOptions
- cli/command/container: remove deprecated
NewStartOptions()
docker/cli#4811 - cli/command: remove deprecated
DockerCliOption
,InitializeOpt
docker/cli#4810