Setting Up the NVIDIA DGX Station
DGX Station
DU-08255-001 _v4.6 | 17
2.9.2. Preventing IP Address Conflicts Between
Docker and the DGX Station
To ensure that the DGX Station can access the network interfaces for Docker containers,
configure the containers to use a subnet distinct from other network resources used by the
DGX Station. By default, Docker uses the
172.17.0.0/16
subnet. If addresses within this
range are already used on the DGX Station network, change the Docker network to specify the
bridge IP address range and container IP address range to be used by Docker containers.
This task requires
sudo
privileges.
1. Open the
/etc/systemd/system/docker.service.d/docker-override.conf
file in a
plain-text editor, such as
vi
.
$
sudo vi /etc/systemd/system/docker.service.d/docker-override.conf
2. Append the following options to the line that begins
ExecStart=/usr/bin/dockerd
,
which specifies the command to start the
dockerd
daemon:
‣
--bip=
bridge-ip-address-range
‣
--fixed-cidr=
container-ip-address-range
bridge-ip-address-range
The bridge IP address range to be used by Docker containers, for example,
192.168.127.1/24
.
container-ip-address-range
The container IP address range to be used by Docker containers, for example,
192.168.127.128/25
.
This example shows a complete
/etc/systemd/system/docker.service.d/docker-
override.conf
file that has been edited to specify the bridge IP address range and
container IP address range to be used by Docker containers.
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -s overlay2 --default-shm-size=1G --
bip=192.168.127.1/24 --fixed-cidr=192.168.127.128/25
LimitMEMLOCK=infinity
LimitSTACK=67108864
Note:
Starting with DGX OS Desktop release 3.1.4, the option
--disable-legacy-
registry=false
is removed from the Docker CE service configuration file
docker-
override.conf
. The option is removed for compatibility with Docker CE 17.12 and later.
3. Save and close the
/etc/systemd/system/docker.service.d/docker-override.conf
file.
4. Reload the Docker settings for the
systemd
daemon.
$
sudo systemctl daemon-reload
5. Restart the
docker
service.
$
sudo systemctl restart docker
Summary of Contents for DGX Station
Page 1: ...DU 08255 001 _v4 6 July 2020 DGX Station User Guide ...
Page 6: ...About this Guide DGX Station DU 08255 001 _v4 6 vi ...
Page 83: ...Maintaining and Servicing the NVIDIA DGX Station DGX Station DU 08255 001 _v4 6 77 ...
Page 92: ...Connections Controls and Indicators DGX Station DU 08255 001 _v4 6 86 ...
Page 95: ...Compliance DGX Station DU 08255 001 _v4 6 89 C 6 China RoHS Material Content ...
Page 99: ...Compliance DGX Station DU 08255 001 _v4 6 93 C 13 South Korea KC C 14 Taiwan BSMI ...