For Docker; Configuring Docker Ip Addresses - Nvidia DGX A100 User Manual

Hide thumbs Also See for DGX A100:
Table of Contents

Advertisement

7.1.3. 

For Docker

To ensure that Docker can access the NGC container registry through a proxy, Docker uses
environment variables. For best practice recommendations on configuring proxy environment
variables for Docker, see https://docs.docker.com/.
7.2. 

Configuring Docker IP Addresses

To ensure that the DGX A100 system can access the network interfaces for Docker containers,
Docker should be configured to use a subnet distinct from other network resources used by
the DGX A100 System.
By default, Docker uses the
find out which IP addresses are used by your network. If your network does not conflict with
the default Docker IP address range, no changes are needed, and you can skip this section.
However, if your network uses the addresses within this range for the DGX A100 system, you
should change the default Docker network addresses.
You can change the default Docker network addresses by modifying the
file or modifying the
daemon.json
file. These instructions provide an example of modifying the
override.conf
system/docker.service.d/docker-override.conf
network addresses.
1. Open the docker-override.conf file for editing.
$ sudo vi /etc/systemd/system/docker.service.d/docker-override.conf
[Service] ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -s overlay2 LimitMEMLOCK=infinity
LimitSTACK=67108864
2. Make the changes indicated in bold below, setting the correct bridge IP address and IP
address ranges for your network.
Consult your IT administrator for the correct addresses.
[Service] ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -s overlay2 --bip=192.168.127.1/24
--fixed-cidr=192.168.127.128/25
LimitMEMLOCK=infinity
LimitSTACK=67108864
3. When you are finished save and close the
docker- override.conf
4. Reload the systemctl daemon.
$ sudo systemctl daemon-reload
5. Restart Docker.
$ sudo systemctl restart docker
NVIDIA DGX A100
subnet. Consult your network administrator to
172.17.0.0/16
/etc/systemd/system/docker.service.d/docker-
/etc/systemd/system/docker.service.d/
file.
Network Configuration
/etc/docker/
file to override the default Docker
DU-09821-001 _v01   |   41
/etc/systemd/

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents