Skip to content

Feature Request: Option to Disable IPv4 Stack and Exclusively Use IPv6 #32850

@ciaran2

Description

@ciaran2

Currently the only way to run docker containers with only an IPv6 stack is to run with host networking on a host running only IPv6. For any other network type, if no IPv4 addresses are specified, they are automatically generated and assigned to the containers.

While it may be reasonable to default to operating in dual-stack mode, it would be good to have an option to create docker networks without an IPv4 stack by supplying a flag like --no-ipv4 or something similar. I'm working in an IPv6-only environment and the automatic v4 addresses are causing problems with things like name resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/networkingNetworkingarea/networking/ipv6Networkingkind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions