Check the DNS server name:
cat /etc/resolv.conf
Add the following line to the docker conf file:
echo "OPTIONS='--dns=10.0.0.10 --dns=10.0.0.11 --dns-search=example.com'" >> /etc/sysconfig/docker
Restart docker:
systemctl restart docker
Check the DNS server name:
cat /etc/resolv.conf
Add the following line to the docker conf file:
echo "OPTIONS='--dns=10.0.0.10 --dns=10.0.0.11 --dns-search=example.com'" >> /etc/sysconfig/docker
Restart docker:
systemctl restart docker