Skip to content

No possibility to create an IPv6 only network #1192

@narqo

Description

@narqo

Hey, docker maintainers!

Currently NetworkController do subnet params normalisation, through the network.ipamAllocate() that always add predefined default IPv4 addresses with ipam.Allocator. This leads to inability to have an IPv6-only network even with drivers that (theoretically) might work without IPv4 address (e.g. macvlan from docker experimental).

Are there any reasons to do it in controller and not in the particular driver (taking into account that currently allocation is skipped for host and null drivers, using if n.Type() == "host" || n.Type() == "null").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions