...
We refer in this guide to an image of the NVIDIA NGC or other catalogues (e.g., Docker) as base image. For example, the docker image docker:
//nvcr
.io
#NVIDIA/tensorflow
:20.12-tf1-py3
(from NVIDIA NGC catalogue) is used in Section 3 of this guide as base image. Let us assume then we have the variable where the label of that image is stored. (e.g., BASE_IMAGE=docker://nvcr.ioio#NVIDIA/NVIDIA/tensorflow:20.12-tf1-py3).)
Choose the target system where our final custom image will be used (see 1. General Description and Resources for available target systems). For example, the partition dgx-1-p100
is used in this guide.
...
Code Block | ||
---|---|---|
| ||
$ enroot import $BASE_IMAGE -o image-no-cuda.sqsh $BASE_IMAGE # creates an Enroot container image out of that docker container $ enroot create --name my_container_first_step image-no-cuda.sqsh # creates an Enroot container named "my_container_firs_step" |
...
Code Block | ||
---|---|---|
| ||
$ enroot import $BASE_IMAGE -o base_image.sqsh $BASE_IMAGE # # creates an Enroot container image out of that docker container $ enroot create --name my_container base_image.sqsh # creates an Enroot container named "my_container" |
...