mirror of
https://github.com/moby/moby.git
synced 2026-07-12 18:45:06 +00:00
The bridge driver now does its own port-mapping, rather than using the portmapper module (which ran as two completely separate instances, for IPv4 and IPv6). When asked for a mapping from any host address (0.0.0.0/0) with a range of host ports, the same port will be allocated for IPv4 and IPv6, or the mapping will fail with an error if that's not possible. The bridge driver now manages its own port mappings. So, remove linux-specific PortMapper code and make what's left Windows-only. Also, replace the portmapper.userlandProxy interface with StartProxy(). Signed-off-by: Rob Murray <rob.murray@docker.com>