From 21743269b07e1a01922f8445c3c71492bce7ede5 Mon Sep 17 00:00:00 2001 From: Jimmy Xu Date: Fri, 27 Mar 2020 12:38:10 +0800 Subject: [PATCH] use-cases: Update documentation for using Nvidia GPU with Kata When running docker with Nvidia GPU, the option --cap-add=ALL is required. Fixes: #622 Signed-off-by: Jimmy Xu --- use-cases/Nvidia-GPU-passthrough-and-Kata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/use-cases/Nvidia-GPU-passthrough-and-Kata.md b/use-cases/Nvidia-GPU-passthrough-and-Kata.md index 8e37e97ad2..591595e548 100644 --- a/use-cases/Nvidia-GPU-passthrough-and-Kata.md +++ b/use-cases/Nvidia-GPU-passthrough-and-Kata.md @@ -199,7 +199,7 @@ Use the following steps to pass an Nvidia GPU device in pass-through mode with K 4. Start a Kata container with GPU device: ``` - $ sudo docker run -it --runtime=kata-runtime --rm --device /dev/vfio/45 centos /bin/bash + $ sudo docker run -it --runtime=kata-runtime --cap-add=ALL --device /dev/vfio/45 centos /bin/bash ``` 5. Run `lspci` within the container to verify the GPU device is seen in the list