3.7 Containers from NGC

NCP-AIO · Workload Management (23% of the exam) · Official objective: “Deploy containers from NGC”

Reading NGC image names, tags and the docker run options.

Key points

  1. NGC (NVIDIA GPU Cloud) is NVIDIA's catalog of GPU-optimized software. nvcr.io is its container registry.

    What NVIDIA says (1)

    “nvcr.io : The name of the container registry, which for the NGC container registry is nvcr.io .”

    — NGC Catalog User Guide

  2. --gpus all exposes the GPUs. -it is interactive. --rm deletes the container on exit. -v mounts a directory.

    What NVIDIA says (1)

    “A run command looks similar to: docker run --gpus all -it --rm -v local_dir:container_dir nvcr.io/nvidia/caffe2:<xx.xx>”

    — NGC Catalog User Guide

  3. A tag names a specific image version. Always state the tag you want from the catalog.

    What NVIDIA says (1)

    “If you choose not to add a tag to an image, by default the word “latest” is added as the tag, however all NGC containers have an explicit version tag.”

    — NGC Catalog User Guide

Key terms

Try it

Sample question

In the image name nvcr.io/nvidia/caffe2:17.10, what is nvcr.io?

Show the answer

Answer: The NGC container registry

NGC (NVIDIA GPU Cloud) is NVIDIA's catalog of GPU-optimized software. nvcr.io is its container registry.

What NVIDIA says (1)

“nvcr.io : The name of the container registry, which for the NGC container registry is nvcr.io .”

— NGC Catalog User Guide

Practice 3.7 (3 questions) Full Workload Management guide

← 3.6 Sharing resources between teams · 4.1 Troubleshooting Docker with GPUs →