code: func modifyContainerNamespaceOptions(nsOpts *runtimeapi.NamespaceOption, podSandboxID string, hostConfig *dockercontainer.HostConfig) {
  	if nsOpts.GetPid() == runtimeapi.NamespaceMode_POD {
  		hostConfig.PidMode = dockercontainer.PidMode(fmt.Sprintf("container:%v", podSandboxID))
  	}
  	modifyCommonNamespaceOptions(nsOpts, hostConfig)
  	modifyHostOptionsForContainer(nsOpts, podSandboxID, hostConfig)
  }
docs: // modifyContainerNamespaceOptions apply namespace options for container