Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,11 @@ The Nvidia Container Toolkit allows contains to access the GPU resources of the
machine. Requires that the GPU drivers are already installed on the host. See the official docs
here: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html

- Set your system distribution name to Debian 11 as workaround until Nvidia adds official Debian 12
support

```bash
distribution=debian11
```

- Download the gpg key and add the repo to your apt sources

```bash
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,11 @@ The Nvidia Container Toolkit allows containers to access the GPU resources of th
machine. Requires that the GPU drivers are already installed on the host. See the official docs
here: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html

- Get your system distribution name

```bash
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
```

- Download the gpg key and add the repo to your apt sources

```bash
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
```
Expand Down