OS Manuals

/usr/bin/nvidia-cdi-hook

From nvidia-container-toolkit-nvidia-cdi-hook 1.20.0-r3 (os), captured 2026-11-05 by running nvidia-cdi-hook --help (exit 0). permalink

Also provided by 2 other package versions
NAME:
   NVIDIA CDI Hook - Command to structure files for usage inside a container, called as hooks from a container runtime, defined in a CDI yaml file

USAGE:
   NVIDIA CDI Hook [global options] [command [command options]]

VERSION:
   1.20.0
commit: 5505e2f94d9aaa08561490db974ba3cd676af209

COMMANDS:
   update-ldcache                    Update ldcache in a container by running ldconfig
   create-symlinks                   A hook to create symlinks in the container.
   chmod                             Set the permissions of folders in the container by running chmod. The container root is prefixed to the specified paths.
   enable-cuda-compat                This hook ensures that the folder containing the CUDA compat libraries is added to the ldconfig search path if required.
   disable-device-node-modification  Ensure that the /proc/driver/nvidia/params file present in the container does not allow device node modifications.
   update-application-profile        Updates driver settings through "application profiles". Currently, this hook sets EGLVisibleDGPUDevices to restrict EGL/Vulkan GPU visibility inside the container
   help, h                           Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d    Enable debug-level logging [$NVIDIA_CTK_DEBUG, $NVIDIA_CDI_DEBUG]
   --quiet        Suppress all output except for errors; overrides --debug [$NVIDIA_CTK_QUIET, $NVIDIA_CDI_QUIET]
   --help, -h     show help
   --version, -v  print the version
Options (4)
OptionDescriptionSource
--debug, -dEnable debug-level logging [$NVIDIA_CTK_DEBUG, $NVIDIA_CDI_DEBUG]help
--quietSuppress all output except for errors;help
--help, -hshow helphelp
--version, -vprint the versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.