The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
![]() Use net.splitHostPort() instead of our own logic in func (p *PortBinding) FromString(s string) error. This means that IPv6 literals, including IPv4 in IPv6 literals, can now be parsed from the string form of PortBindings. Zoned addresses do not work - net.splitHostPort() parses them but net.ParseIP() cannot and returns an error. This is ok because we do not have a slot to store the zone name in PortBinding anyway. Signed-off-by: Euan Harris <euan.harris@docker.com> |
||
---|---|---|
libnetwork |