Docker images aparently have no connectivity. Issue resides with the dns resolvers.
Looks like when using ips, everything works; when using names, it doesn't work.
Two ways of doing this...
Edit the file:
Comment the line containing
sudo systemctl restart network-manager
sudo systemctl restart docker
On elementary loki (ubuntu 16.04), docker configuration file is here:
Edit this config file and add to ExecStart like this:
ExecStart=/usr/bin/docker daemon -H fd:// --bip=192.168.169.1/24
sudo systemctl daemon-reload
Stop docker service:
systemctl stop docker
Install brctl to control the bridge:
sudo apt-get install bridge-utils
Bring down the bridge:
sudo ip link set docker0 down
Delete the bridge:
sudo brctl delbr docker0
systemctl start docker
Option #2 did not work for me. Option #1 did.
Source and more details: http://stackoverflow.com/a/35519951/3004463