Skip to content

Commit d59fc62

Browse files
committed
Refresh Container Toolkit airgap guidance
1 parent b3f1510 commit d59fc62

2 files changed

Lines changed: 9 additions & 16 deletions

File tree

docs/airgap/mirror-http-files.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ Then, for any files you need to make available for download, simply copy these f
3434
To configure DeepOps to make use of this server, you will need to configure the specific variables for the download URL of each file.
3535
The best place to find these variables is the `defaults/main.yml` file of each role you plan to make use of.
3636

37-
For example, in the [nvidia-docker role](https://github.com/NVIDIA/ansible-role-nvidia-docker), the wrapper script is downloaded from the [nvidia-docker Github repositories](https://raw.githubusercontent.com/NVIDIA/nvidia-docker/master/nvidia-docker).
38-
39-
To mirror this file offline, you would download the script and place it on your offline repo server, then configure the `nvidia_docker_wrapper_url` variable with the alternate URL.
37+
Current NVIDIA Container Toolkit installs use package repositories and `nvidia-ctk` runtime configuration rather than a standalone wrapper script.
38+
Mirror those package repositories with the Apt or RPM mirror workflows, then point the `nvidia_container_toolkit_*` repository variables at your local mirrors.
4039

4140
Documentation on specific offline workflows (such as the [NGC ready offline doc](./ngc-ready.md)) may list specific files that need to be downloaded for those workflows.

docs/airgap/ngc-ready.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ The following Apt repositories will need to be mirrored in the offline environme
2828

2929
For instructions on mirroring these repositories, see the [doc on Apt mirrors](./mirror-apt-repos.md).
3030

31-
The following files will need to be downloaded and made available in an HTTP mirror:
31+
The following files may need to be downloaded and made available in an HTTP mirror:
3232

33-
- nvidia-docker wrapper (found [here](https://raw.githubusercontent.com/NVIDIA/nvidia-docker/master/nvidia-docker))
3433
- DCGM package (optional)
3534

3635
For instructions on setting up an HTTP mirror, see the [doc on HTTP mirrors](./mirror-http-files.md).
@@ -53,10 +52,9 @@ The following RPM repositories will need to be mirrored in the offline environme
5352

5453
For instructions on mirroring these repositories, see the [doc on RPM mirrors](./mirror-rpm-repos.md).
5554

56-
The following files will need to be downloaded and made available in an HTTP mirror:
55+
The following files may need to be downloaded and made available in an HTTP mirror:
5756

5857
- EPEL package (found [here](https://fedoraproject.org/wiki/EPEL))
59-
- nvidia-docker wrapper (found [here](https://raw.githubusercontent.com/NVIDIA/nvidia-docker/master/nvidia-docker))
6058
- DCGM package (optional)
6159

6260
For instructions on setting up an HTTP mirror, see the [doc on HTTP mirrors](./mirror-http-files.md).
@@ -134,8 +132,8 @@ To configure alternate URLs for these repositories, set the following variables
134132
docker_ubuntu_repo_base_url: "http://<your-package-mirror>/<your-path-to-docker-repo>"
135133
docker_ubuntu_repo_gpgkey: "http://<your-package-mirror>/<your-path-to-docker-gpgkey>"
136134

137-
nvidia_docker_repo_base_url: "http://<your-package-mirror>/<your-path-to-nvidia-docker-base-dir>"
138-
nvidia_docker_repo_gpg_url: "http://<your-package-mirror>/<your-path-to-nvidia-docker-gpgkey>"
135+
nvidia_container_toolkit_repo_base_url: "http://<your-package-mirror>/<your-path-to-libnvidia-container>"
136+
nvidia_container_toolkit_repo_gpg_url: "http://<your-package-mirror>/<your-path-to-libnvidia-container-gpgkey>"
139137
```
140138

141139
**Enterprise Linux**
@@ -144,17 +142,13 @@ nvidia_docker_repo_gpg_url: "http://<your-package-mirror>/<your-path-to-nvidia-d
144142
docker_rh_repo_base_url: "http://<your-package-mirror>/<your-path-to-docker-repo>"
145143
docker_rh_repo_gpgkey: "http://<your-package-mirror>/<your-path-to-docker-gpgkey>"
146144

147-
nvidia_docker_repo_base_url: "http://<your-package-mirror>/<your-path-to-nvidia-docker-base-dir>"
148-
nvidia_docker_repo_gpg_url: "http://<your-package-mirror>/<your-path-to-nvidia-docker-gpgkey>"
145+
nvidia_container_toolkit_rpm_repo_url: "http://<your-package-mirror>/<your-path-to-nvidia-container-toolkit.repo>"
149146
```
150147

151148
### Configure DeepOps to use your mirrors for HTTP downloads
152149

153-
In all cases, you will need to provide a URL to download the nvidia-docker wrapper:
154-
155-
```bash
156-
nvidia_docker_wrapper_url: "http://<your-http-mirror>/<your-path>/nvidia-docker"
157-
```
150+
Current NVIDIA Container Toolkit installs do not need a standalone `nvidia-docker` wrapper file.
151+
Use this section only for other direct HTTP downloads required by the roles you enable.
158152

159153
If installing on Enterprise Linux, you will need to provide a URL for the EPEL package.
160154
For example,

0 commit comments

Comments
 (0)