Skip to content

Commit

Permalink
container-toolkit/install-guide.md: add nerdctl
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Jan 18, 2024
1 parent 0ef061a commit 13b6c53
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion container-toolkit/install-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:
Expand Down

0 comments on commit 13b6c53

Please sign in to comment.