mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 14:58:16 +00:00
Merge pull request #5709 from kinderyj/main
docs: update doc "NVIDIA GPU passthrough"
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user