VMware Private AI Foundation with NVIDIA requires access to the container images on the NVIDIA NGC catalog. For disconnected environments, as a DevOps engineer, you must manually upload these images to the Harbor Supervisor Service.
Procedure
- Install the Harbor Supervisor Service certificate on the client machine.
- Log into Harbor as an administrator.
- Navigate to and click the System Settings tab.
- To download the registry root certificate, click Download.
- Copy the ca.crt file that you downloaded to the client machine with Docker installed.
- On the client machine, the /etc/docker/certs.d/private-registry-FQDN/ folder, create a directory path for the private registry.
- Move the
ca.crt
file to the folder you created.
- Restart the docker daemon.
sudo systemctl restart docker.service
- To verify that the TLS certificate is trusted, log in to Harbor by using Docker.
docker login harborfqdn.example.com
- Log in to the NVIDIA NGC registry by using Docker with a user name
$oauthtoken
and the NGC API key.
- Pull the desired image from the NVIDIA NGC registry.
For example, to pull a Triton Inference Server image, run this command.
docker pull nvcr.io/nvidia/tritonserver:24.04-py3-igpu
- Export the container image to a .tar file.
docker save > tritonserver.tar nvcr.io/nvidia/tritonserver:24.04-py3-igpu
- Copy the .tar file to the machine that has access to the disconnected Harbor Supervisor Service
- Load the container image on the machine with network access to the Harbor Supervisor Service.
docker load < tritonserver.tar
- Tag the image.
docker tag image:tag <harbor_address>/paif-n/tritonserver:24.04-py3-igpu
- Push the image to a project in Harbor.
docker push <harbor_address>/paif-n/tritonserver:24.04-py3-igpu