
www.nvidia.com
NVIDIA DGX-1
DU-08033-001 _v13.1 | 20
Chapter 3.
PREPARING FOR USING DOCKER
CONTAINERS
This chapter presents an overview of the prerequisites for accessing NVIDIA Docker
containers from the Docker command line for use on the NVIDIA
®
DGX-1
™
in base
OS mode. These containers include NVIDIA DGX-1 specific software to ensure the
best performance for your applications. Using these containers as a basis for your
applications should provide the best single-GPU performance and multi-GPU scaling.
‣
Installing Docker and NVIDIA Docker on DGX OS Server Software 2.x or Earlier
‣
Configuring Docker IP Addresses
‣
Letting Users Issue Docker Commands
‣
Configuring a System Proxy
‣
Configuring NFS Mount and Cache
3.1. Installing Docker and NVIDIA Docker on DGX
OS Server Software 2.x or Earlier
To enable portability in Docker images that leverage GPUs, NVIDIA
®
developed
nvidia-docker
, an open-source project that provides a command line tool to mount
the user mode components of the NVIDIA driver and the GPUs into the Docker
container at launch.
As of DGX OS Server software version 3.1.1 and later, Docker and nvidia-docker are part
of the base software installation and you do not need to perform the steps in this section.
However, if your DGX-1 is installed with software version 2.x or earlier, then follow
these instructions to install Docker and nvidia-docker on the system.
To determine the DGX OS Server software version on your system, enter the following
command.
$
grep VERSION /etc/dgx-release
DGX_SWBUILD_VERSION="3.1.1"