Skip to content

Commit

Permalink
libnvidia-container: Add
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Jul 26, 2024
1 parent 8af57fc commit 7536c84
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/libnvidia-container.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# libnvidia-container

## 地址

<https://mirrors.ustc.edu.cn/libnvidia-container/>

## 说明

以 Apache-2.0 协议开源的 NVIDIA Container Toolkit 的二进制软件包

## 使用说明

以下说明修改自 [Installing the NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)

### Apt

```sh
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://mirrors.ustc.edu.cn/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://nvidia.github.io#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://mirrors.ustc.edu.cn#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
```

然后安装:

```sh
sudo apt update && sudo apt install nvidia-container-toolkit
```

### Yum / Dnf

```sh
curl -s -L https://mirrors.ustc.edu.cn/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | \
sed 's#nvidia.github.io/libnvidia-container/stable/#mirrors.ustc.edu.cn/libnvidia-container/stable/#g' |
sed 's#nvidia.github.io/libnvidia-container/experimental/#mirrors.ustc.edu.cn/libnvidia-container/experimental/#g' |
sudo tee /etc/yum.repos.d/nvidia-container-toolkit.repo
```

然后安装:

```sh
sudo yum install nvidia-container-toolkit
```

## 相关链接

上游仓库

: <https://github.com/NVIDIA/libnvidia-container/>
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ nav:
- homebrew-services.git.md
- influxdata.md
- kubernetes.md
- libnvidia-container.md
- linux.git.md
- mariadb.md
- mozilla.md
Expand Down

0 comments on commit 7536c84

Please sign in to comment.