diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
commit | 05c365a54dd074872a6c46f7bd0c6680f7588f71 (patch) | |
tree | d896ea101de423427be13cad55418e793c9d03ee /docker/nvidia-docker-toolkit/config.toml | |
parent | cointop (diff) | |
download | scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.tar.gz scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.zip |
updates
Diffstat (limited to 'docker/nvidia-docker-toolkit/config.toml')
-rw-r--r-- | docker/nvidia-docker-toolkit/config.toml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docker/nvidia-docker-toolkit/config.toml b/docker/nvidia-docker-toolkit/config.toml new file mode 100644 index 0000000..a782015 --- /dev/null +++ b/docker/nvidia-docker-toolkit/config.toml @@ -0,0 +1,34 @@ +disable-require = false +swarm-resource = "DOCKER_RESOURCE_GPU" +accept-nvidia-visible-devices-envvar-when-unprivileged = true +accept-nvidia-visible-devices-as-volume-mounts = true + +[nvidia-container-cli] +#root = "/home/devi/nvidia-docker-toolkit" +#path = "/home/devi/nvidia-docker-toolkit/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.real" + +[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", + "runsc", + "nvidia", +] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d" |