Skip to content

Commit 0982ca1

Browse files
committed
Update containerd and crio instructions for drop-in files
Signed-off-by: Evan Lezar <[email protected]>
1 parent 6035bbe commit 0982ca1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

container-toolkit/install-guide.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,10 @@ follow these steps:
198198
$ sudo nvidia-ctk runtime configure --runtime=containerd
199199
```
200200

201-
The `nvidia-ctk` command modifies the `/etc/containerd/config.toml` file on the host.
202-
The file is updated so that containerd can use the NVIDIA Container Runtime.
201+
By default, the `nvidia-ctk` command creates a `/etc/containerd/conf.d/99-nvidia.toml`
202+
drop-in config file and modifies (or creates) the `/etc/containerd/config.toml` file
203+
to ensure that the `imports` config option is updated accordingly. The drop-in file
204+
ensures that containerd can use the NVIDIA Container Runtime.
203205

204206
1. Restart containerd:
205207

@@ -223,8 +225,8 @@ Refer to the [nerdctl documentation](https://github.com/containerd/nerdctl/blob/
223225
$ sudo nvidia-ctk runtime configure --runtime=crio
224226
```
225227

226-
The `nvidia-ctk` command modifies the `/etc/crio/crio.conf` file on the host.
227-
The file is updated so that CRI-O can use the NVIDIA Container Runtime.
228+
By default, the `nvidia-ctk` command creates a `/etc/crio/conf.d/99-nvidia.toml`
229+
drop-in config file. The drop-in file ensures that CRI-O can use the NVIDIA Container Runtime.
228230

229231
1. Restart the CRI-O daemon:
230232

0 commit comments

Comments
 (0)