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").
Hey, docker maintainers!
Currently
NetworkControllerdo subnet params normalisation, through thenetwork.ipamAllocate()that always add predefined default IPv4 addresses withipam.Allocator. This leads to inability to have an IPv6-only network even with drivers that (theoretically) might work without IPv4 address (e.g.macvlanfrom 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
hostandnulldrivers, usingif n.Type() == "host" || n.Type() == "null").