diff options
Diffstat (limited to 'development/nvidia-container-toolkit/oci-nvidia-hook.json.new')
-rw-r--r-- | development/nvidia-container-toolkit/oci-nvidia-hook.json.new | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/development/nvidia-container-toolkit/oci-nvidia-hook.json.new b/development/nvidia-container-toolkit/oci-nvidia-hook.json.new new file mode 100644 index 000000000000..6cbbe5cfa63a --- /dev/null +++ b/development/nvidia-container-toolkit/oci-nvidia-hook.json.new @@ -0,0 +1,15 @@ +{ + "version": "1.0.0", + "hook": { + "path": "/usr/bin/nvidia-container-runtime-hook", + "args": ["nvidia-container-runtime-hook", "prestart"], + "env": [ + "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + ] + }, + "when": { + "always": true, + "commands": [".*"] + }, + "stages": ["prestart"] +} |