Prevent Docker from using Google DNS

docker

(Joshua Rosenfeld) #1

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?


(Rafael dos Santos Silva) #2

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


(Joshua Rosenfeld) #3

Ubuntu Desktop 14.04 LTS


(Rafael dos Santos Silva) #4

(Joshua Rosenfeld) #5

Thanks Falco! That did it!


(Rafael dos Santos Silva) #6