I\'ve been trying to run Docker build on various files which previously worked before, which are now no longer working.
As soon as the Docker file included any line
I have the same issue, and tried the steps mentioned, but seems none works until refresh the network settings.
The steps:
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --ip-masq=true" to /etc/default/docker.iptables -t nat -F POSTROUTING . After running this, restart docker and it will initialize the nat table with the new IP range.