Loading Container Images#

This procedure applies to container images hosted in the NVIDIA NGC Container Registry and requires an active NGC account. Download the image on a connected system with the same CPU architecture as the air-gapped DGX system.

Docker must be installed on both the connected system and the air-gapped DGX system. To run GPU-enabled images, install and configure the NVIDIA Container Toolkit as described in Installing Docker and the NVIDIA Container Toolkit.

Run the following commands with sudo unless you are a trusted member of the docker group.

  1. On the connected system, log in to the NGC Container Registry.

    sudo docker login nvcr.io
    

    Enter $oauthtoken as the username and the NGC API key as the password.

  2. Pull the required image, specifying the registry, repository, and tag.

    sudo docker pull <registry>/<repository>:<tag>
    
  3. Save the image to an archive on organization-approved removable media.

    sudo docker save --output /media/usb/<image-name>.tar <registry>/<repository>:<tag>
    
  4. Transfer the image to the air-gapped system by using removable media, such as a USB flash drive.

  5. Load the image into the local Docker image store.

    sudo docker load --input /media/usb/<image-name>.tar
    
  6. Verify that the image is available.

    sudo docker image ls