code: func pidNamespaceMode(container *dockertypes.ContainerJSON) runtimeapi.NamespaceMode {
  	if container != nil && container.HostConfig != nil && string(container.HostConfig.PidMode) == namespaceModeHost {
  		return runtimeapi.NamespaceMode_NODE
  	}
  	return runtimeapi.NamespaceMode_CONTAINER
  }
docs: // pidNamespaceMode returns the PID runtimeapi.NamespaceMode for this container.
  // Supports: CONTAINER, NODE
  // TODO(verb): add support for POD PID namespace sharing