Prevent Docker from using Google DNS

So I am attempting to install Discourse in production for the first time. I am doing this on a college campus, where external DNS servers (like Google) are blocked. As such, when attempting to bootstrap Discourse it fails. How can I change Docker to use the host PCs DNS settings, or manually set Docker’s DNS addresses?

You need to pass the dns server ip to the docker service. How to do this changes depending on your Linux distribution and version.

Ubuntu Desktop 14.04 LTS

See

4 Likes

Thanks Falco! That did it!

1 Like