aboutsummaryrefslogtreecommitdiffstats
path: root/docker/nvidia-docker-toolkit/oci-nvidia-hook.json
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-23 15:04:54 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-23 15:04:54 +0000
commit05c365a54dd074872a6c46f7bd0c6680f7588f71 (patch)
treed896ea101de423427be13cad55418e793c9d03ee /docker/nvidia-docker-toolkit/oci-nvidia-hook.json
parentcointop (diff)
downloadscripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.tar.gz
scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.zip
updates
Diffstat (limited to '')
-rw-r--r--docker/nvidia-docker-toolkit/oci-nvidia-hook.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/nvidia-docker-toolkit/oci-nvidia-hook.json b/docker/nvidia-docker-toolkit/oci-nvidia-hook.json
new file mode 100644
index 0000000..fb78494
--- /dev/null
+++ b/docker/nvidia-docker-toolkit/oci-nvidia-hook.json
@@ -0,0 +1,6 @@
+{"version":"1.0.0",
+ "hook":{"path":"nvidia-container-toolkit",
+ "args":["nvidia-container-toolkit","prestart"],
+ "env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/devi/nvidia-docker-toolkit"]},
+ "when":{"always":true,"commands":[".*"]},
+ "stages":["prestart"]}