During docker build, faced the following error:
Docker Networking Disabled: WARNING: IPv4 forwarding is disabled. Networking will not work
So, all yum install commands failed.
Fix:
Added the following to /etc/sysctl.conf:
net.ipv4.ip_forward=1
Then restarted the network service.
Now, docker build should be able to reach the network.
Note to self:
Next, time keep an eye on all the warnings faced during docker build itself :)