Skip to content

Set EnableIPv4=true in overlay network inspect response#50147

Merged
thaJeztah merged 1 commit intomoby:masterfrom
robmry:inspect_overlay_enableipv4
Jun 5, 2025
Merged

Set EnableIPv4=true in overlay network inspect response#50147
thaJeztah merged 1 commit intomoby:masterfrom
robmry:inspect_overlay_enableipv4

Conversation

@robmry
Copy link
Contributor

@robmry robmry commented Jun 5, 2025

- What I did

Overlay networks always have IPv4, so report that in network inspect responses.

- How I did it

- How to verify it

Create an overlay network and inspect it ...

$ docker network inspect ovl
[
    {
        "Name": "ovl",
        "Id": "s10uawdvkhyf2iaopfpu3y7o3",
        "Created": "2025-06-05T14:20:44.778231219Z",
        "Scope": "swarm",
        "Driver": "overlay",
        "EnableIPv4": true,
        "EnableIPv6": false,
        ...
    }
]

- Human readable description for the release notes

- The `network inspect` response for an overlay network now reports that `EnableIPv4` is true.

Signed-off-by: Rob Murray <rob.murray@docker.com>
@robmry robmry added this to the 28.2.3 milestone Jun 5, 2025
@robmry robmry self-assigned this Jun 5, 2025
@robmry robmry marked this pull request as ready for review June 5, 2025 15:46
@robmry robmry requested review from corhere, dmcgowan and vvoland June 5, 2025 15:47
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit 59bdc72 into moby:master Jun 5, 2025
229 of 231 checks passed
@vvoland vvoland modified the milestones: 28.2.3, 28.3.0 Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overlay network reports "EnableIPv4": false

4 participants