code: func validateNetMode(c *container.Config, hc *container.HostConfig) error {
  	if hc == nil {
  		return nil
  	}
  
  	err := validateNetContainerMode(c, hc)
  	if err != nil {
  		return err
  	}
  
  	if hc.NetworkMode.IsContainer() && hc.Isolation.IsHyperV() {
  		return fmt.Errorf("Using the network stack of another container is not supported while using Hyper-V Containers")
  	}
  
  	return nil
  }
docs: // validateNetMode ensures that the various combinations of requested
  // network settings are valid.