Can't run rebuild app


(Fabian Santiago) #1

Centos 7
Self hosted discourse run thru docker
Current version
I have 127.0.0.1 as my first DNS followed by public ones; I run pdns-recursor for my loopback entry.

Attempting to run git pull on discourse works fine.

Then run rebuild app and receive this:

cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Could not resolve host: github.com
518cdc4fe87305081463e693d5cffd0a2477ff2e986b2f75fd6c65ca28dbda5e
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Is it in fact my dns setup?


(Jay Pfaffman) #2

That’s what i looks like. Can you ping “github.com”?


(Fabian Santiago) #3

yes i can. and i can also run git pull on the /discourse folder and that works fine. it seems from within docker it can’t reach it.

excuse my lack of know-how, but how can i test docker’s dns function?


(Jay Pfaffman) #4

I don’t know. There are lots of topics about Centos not working well with Docker. The simplest solution would be to switch to Ubuntu.


(Fabian Santiago) #5

no!!! but i like centos…<sigh…> haha, that would be a pain in the butt for me at this time. hmmmm, i’ll look around and see what i can do. thanks for your input.