Docker

The DGX-1 , the DGX Station , and the NVIDIA NGC Cloud Services uses Docker . Docker is one of the most popular container services available and is very commonly used by developers in the Artificial Intelligence (AI) space. There is a public Docker repository that holds pre-built Docker containers. These containers can be a simple base OS such as CentOS , or they may be a complete application such as TensorFlow.

These Docker containers for running the applications that they contain. You can use them as the basis for creating other containers, for example for extending a container. To enable portability in Docker images that leverage GPUs, NVIDIA developed the NVIDIA Container Runtime for Docker , also known as nvidia-docker.

How to Use:

1.Log-in the docker:

$ docker images (or) $ nvidia-docker images

issue the above command to list the images on the server.

2.Running a container:

$ nvidia-docker run -it —rm –net=”host” -v [folder path]:/workspace <container>:<xx:xx>

or

$ nvidia-docker run -it —rm –net=”host” -v [folder path]:/workspace<DOCKER IMAGE ID>

where,

–it means run the container in interactive mode,

–rm means delete the container when finished,  

-v means to mount the directory

-<container> is the name of the container –

 

For any queries, raise a ticket in the helpdesk or please contact System Administrator, #103,SERC.