ARTIFACTORY: How to Create a Remote Repository in Artifactory as a Mirror to nvidia-docker
The Nvidia repository works differently from a regular Artifactory Debian repository.
To use the Nvidia container runtime for Docker and cache artifacts using Artifactory, you'll need to create a remote repository for every individual repository in your Nvidia-docker. For example, to work with the following:
To use the Nvidia container runtime for Docker and cache artifacts using Artifactory, you'll need to create a remote repository for every individual repository in your Nvidia-docker. For example, to work with the following:
"deb https://nvidia.github.io/nvidia-container-runtime/ubuntu16.04/$(ARCH)/"
- Create a remote Debian repository and set the URL as: https://nvidia.github.io/nvidia-container-runtime
- Update your nvidia-docker.list file, which is located in /etc/apt/nvidia-docker.list, to the following:
deb https://user:password@artifactory-url/artifactory/nvidia-container-runtime/ubuntu16.04/$(ARCH)/
3. sudo apt update
Repeat the steps above for all of the repositories you intend to use. In each repository in Artifactory, the URL should look like following:
- https://nvidia.github.io/nvidia-container-runtime/
- https://nvidia.github.io/libnvidia-container/
- https://nvidia.github.io/nvidia-docker/
Published: Nov. 14, 2018
Last updated: May. 25, 2021
Keywords: debian, nvidia, docker