Closed justrhysism closed 9 years ago
Actually, after some further research, I have a pretty strong feeling that this is why: https://github.com/boot2docker/boot2docker/issues/357
Hey! I've been away for a while. Did you resolve the issue? Was it docker dns settings that was the problem? I've stumbled upon a similar problem on linux in another project. I ended up setting global docker daemon dns servers so that all containers had a working internet connection...
I'm also seeing this problem. Not using boot2docker, but I am on OS X running Docker inside a VirtualBox VM, I'm thinking it's related to that.
@justrhysism Did you resolve this issue?
I was able to get this to work by replacing /etc/resolv.conf after the container started. Not ideal, but it works, just FYI.
Sorry I've been MIA - my server is down ATM so I haven't made any progress for quite some time.
I found this to also be an issue when running a docker host in VMWare. When checking the /etc/resolv.conf file, the nameserver was being set to the IP address of my LAN router instead of a valid DNS server. To fix the issue, I needed to add the --dns 8.8.8.8
option to my docker container launch script. This can be confusing to diagnose as the openvpn process remains active even when it's not working and the start-up options don't add management or logging for the openvpn process. I recommend adding a link to this issue, or a potential fix on the docker hub info and github README pages.
I'm pretty new to Docker, so I'm still struggling a touch to figure it all out, and it probably doesn't help that I'm using it with Boot2Docker. Anyhow...
The script is failing because www.privateinternetaccess.com can't be resolved:
Would you have any ideas on what this might be?