Preparing for Using Docker Containers
www.nvidia.com
NVIDIA DGX-1
DU-08033-001 _v13.1 | 24
can impact security in your system. Always consult your IT department to make sure
the installation is in accordance with the security policies of your data center.
The commands in this section require
sudo
access, and should be performed by a
system administrator.
3.3.1. Checking if a User is in the Docker Group
To check whether a user is already part of the docker group, enter the following:
$
groups
username
The output shows all the groups of which that user is a member. If docker is not listed,
then add that user.
3.3.2. Creating a User
To create a new user in order to add them to the docker group, perform the following:
1.
Add the user.
$
sudo useradd
username
2.
Set up the password.
$
sudo passwd
username
Enter a password at the prompts:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
3.3.3. Adding a User to the Docker Group
For each user you want to add to the
docker
group, enter the following command:
$
sudo usermod -a -G docker
username
3.4. Configuring a System Proxy
If you will be using the DGX-1 in base OS mode, and your network requires use of a
proxy, then edit the file /etc/apt/apt.conf.d/proxy.conf and make sure the following lines
are present, using the parameters that apply to your network:
Acquire::http::proxy "http://<username>:<password>@<host>:<port>/";
Acquire::ftp::proxy "ftp://<username>:<password>@<host>:<port>/";
Acquire::https::proxy "https://<username>:<password>@<host>:<port>/";