mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-04-16 21:41:17 +00:00
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> |
||
---|---|---|
.. | ||
disable-device-node-modification_test.go | ||
disable-device-node-modification.go | ||
mount_linux.go | ||
mount_other.go |