code: func modifyHostOptionsForContainer(nsOpts *runtimeapi.NamespaceOption, podSandboxID string, hc *dockercontainer.HostConfig) {
  	sandboxNSMode := fmt.Sprintf("container:%v", podSandboxID)
  	hc.NetworkMode = dockercontainer.NetworkMode(sandboxNSMode)
  	hc.IpcMode = dockercontainer.IpcMode(sandboxNSMode)
  	hc.UTSMode = ""
  
  	if nsOpts.GetNetwork() == runtimeapi.NamespaceMode_NODE {
  		hc.UTSMode = namespaceModeHost
  	}
  }
docs: // modifyHostOptionsForContainer applies NetworkMode/UTSMode to container's dockercontainer.HostConfig.