Docker 25 returns auto-generated MAC address in container.Config MacAddress field #47228
Labels
area/networking
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
version/25.0
Description
According to the API documentation, the container
Config
field is meant to indicate portable configuration between hosts, however, since v25, this field will include the dynamically generated Mac address, which doesn't seem to fit the definition of portable.This also means that the Config field no longer reflects the configuration options passed to docker run, e.g.
Reproduce
Expected behavior
This is the behavior on v24
docker version
Client: Version: 25.0.1 API version: 1.44 Go version: go1.21.6 Git commit: 29cf629 Built: Tue Jan 23 23:08:36 2024 OS/Arch: linux/arm64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.1 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: 71fa3ab0 Built: Tue Jan 23 23:09:53 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: v1.7.12 GitCommit: 71909c1814c544ac47ab91d2e8b84718e517bb99 runc: Version: 1.1.11 GitCommit: v1.1.11-0-g4bccb38 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: