diff options
Diffstat (limited to 'docker/nvidia-docker-toolkit/oci-nvidia-hook.json')
-rw-r--r-- | docker/nvidia-docker-toolkit/oci-nvidia-hook.json | 6 |
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"]} |