mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 05:21:33 +00:00
f6b1b1afad
This change ignores the value of NVIDIA_VISIBLE_DEVICES instead of raising an error when launching a container with insufficient permissions. This changes the behaviour under the following conditions: NVIDIA_VISIBLE_DEVICES is set and accept-nvidia-visible-devices-envvar-when-unprivileged = false (default: true) or privileged = false (default: false) This means that a user need not explicitly clear the NVIDIA_VISIBLE_DEVICES environment variable if no GPUs are to be used in unprivileged containers. Note that this envvar is set to 'all' by default in many CUDA images that are used as base images. Signed-off-by: Evan Lezar <elezar@nvidia.com> |
||
---|---|---|
config | ||
docker | ||
packaging | ||
pkg | ||
.dockerignore | ||
.gitignore | ||
.gitlab-ci.yml | ||
CONTRIBUTING.md | ||
docker.mk | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
oci-nvidia-hook | ||
oci-nvidia-hook.json |