3.7 Containers from NGC
Reading NGC image names, tags and the docker run options.
Key points
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 .”
--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>”
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.”
Key terms
- NGC: NVIDIA's catalog of GPU-optimized software; its container registry is nvcr.io.
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 .”
Practice 3.7 (3 questions) Full Workload Management guide
← 3.6 Sharing resources between teams · 4.1 Troubleshooting Docker with GPUs →