mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +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:
parent
7c8d474959
commit
6c1e153a6f
@ -545,6 +545,12 @@ Create the hook execution file for Kata:
|
|||||||
/usr/bin/nvidia-container-toolkit -debug $@
|
/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
|
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.
|
rootfs and configure it for use with Kata according to the development guide.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user