func (n *bridgeNetwork) releasePort(bnd types.PortBinding) error { // Construct the host side transport address host, err := bnd.HostAddr() if err != nil { return err } return n.portMapper.Unmap(host) }