mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-13 04:49:36 +00:00
docs: update doc "NVIDIA GPU passthrough"
We should make sure the hook shell `nvidia-container-toolkit.sh` is executable. Fixes: #5594 Signed-off-by: Matt Wang <kinder_yj@hotmail.com>
This commit is contained in:
@@ -545,6 +545,12 @@ Create the hook execution file for Kata:
|
||||
/usr/bin/nvidia-container-toolkit -debug $@
|
||||
```
|
||||
|
||||
Make sure the hook shell is executable:
|
||||
|
||||
```sh
|
||||
chmod +x $ROOTFS_DIR/usr/share/oci/hooks/prestart/nvidia-container-toolkit.sh
|
||||
```
|
||||
|
||||
As the last step one can do some cleanup of files or package caches. Build the
|
||||
rootfs and configure it for use with Kata according to the development guide.
|
||||
|
||||
|
Reference in New Issue
Block a user