From 13b6c538ebcd6cfd953332926087499ff6f26cbd Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 16 Jan 2024 21:06:40 +0900 Subject: [PATCH] container-toolkit/install-guide.md: add nerdctl Signed-off-by: Akihiro Suda --- container-toolkit/install-guide.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/container-toolkit/install-guide.md b/container-toolkit/install-guide.md index 2501696c3..691923fdc 100644 --- a/container-toolkit/install-guide.md +++ b/container-toolkit/install-guide.md @@ -159,7 +159,7 @@ follow these steps: #user = "root:video" ``` -### Configuring containerd +### Configuring containerd (for Kubernetes) 1. Configure the container runtime by using the `nvidia-ctk` command: @@ -176,6 +176,14 @@ follow these steps: $ sudo systemctl restart containerd ``` +### Configuring containerd (for nerdctl) + +No additional configuration is needed. +You can just run `nerdctl run --gpus=all`, with root or without root. +You do not need to run the `nvidia-ctk` command mentioned above for Kubernetes. + +See also the [nerdctl documentation](https://github.com/containerd/nerdctl/blob/main/docs/gpu.md). + ### Configuring CRI-O 1. Configure the container runtime by using the `nvidia-ctk` command: