code: func ipcNamespaceMode(container *dockertypes.ContainerJSON) runtimeapi.NamespaceMode {
  	if container != nil && container.HostConfig != nil && string(container.HostConfig.IpcMode) == namespaceModeHost {
  		return runtimeapi.NamespaceMode_NODE
  	}
  	return runtimeapi.NamespaceMode_POD
  }
docs: // ipcNamespaceMode returns the IPC runtimeapi.NamespaceMode for this container.
  // Supports: POD, NODE