From 05c365a54dd074872a6c46f7bd0c6680f7588f71 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 23 Jun 2022 19:34:54 +0430 Subject: updates --- docker/nvidia-docker-toolkit/oci-nvidia-hook.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docker/nvidia-docker-toolkit/oci-nvidia-hook.json (limited to 'docker/nvidia-docker-toolkit/oci-nvidia-hook.json') 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"]} -- cgit v1.2.3