nvidia-container-toolkit/cmd/nvidia-cdi-hook/commands
Evan Lezar f2618d5c13
Add a hook to disable device node creation in a container
If required, this hook creates a modified params file (with ModifyDeviceFiles: 0) in a tmpfs
and mounts this over /proc/driver/nvidia/params.

This prevents device node creation when running tools such as nvidia-smi. In general the
creation of these devices is cosmetic as a container does not have the required cgroup
access for the devices.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-06-03 16:03:56 +02:00
..
commands.go Add a hook to disable device node creation in a container 2025-06-03 16:03:56 +02:00