mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-12-01 16:52:54 +00:00
50240c93bd
Signed-off-by: Evan Lezar <elezar@nvidia.com>
33 lines
897 B
Plaintext
33 lines
897 B
Plaintext
disable-require = false
|
|
#swarm-resource = "DOCKER_RESOURCE_GPU"
|
|
#accept-nvidia-visible-devices-envvar-when-unprivileged = true
|
|
#accept-nvidia-visible-devices-as-volume-mounts = false
|
|
|
|
[nvidia-container-cli]
|
|
#root = "/run/nvidia/driver"
|
|
#path = "/usr/bin/nvidia-container-cli"
|
|
environment = []
|
|
#debug = "/var/log/nvidia-container-toolkit.log"
|
|
#ldcache = "/etc/ld.so.cache"
|
|
load-kmods = true
|
|
#no-cgroups = false
|
|
#user = "root:video"
|
|
ldconfig = "@/sbin/ldconfig"
|
|
|
|
[nvidia-container-runtime]
|
|
#debug = "/var/log/nvidia-container-runtime.log"
|
|
log-level = "info"
|
|
|
|
# Specify the runtimes to consider. This list is processed in order and the PATH
|
|
# searched for matching executables unless the entry is an absolute path.
|
|
runtimes = [
|
|
"docker-runc",
|
|
"runc",
|
|
]
|
|
|
|
mode = "auto"
|
|
|
|
[nvidia-container-runtime.modes.csv]
|
|
|
|
mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d"
|