Open juanmao opened 7 years ago
SocketError: getaddrinfo: Name or service not known
DNS. It's always DNS.
@juanmao Is this issue still happen or can this be closed ?
still happen
Niclas Mietz notifications@github.com于2017年11月6日 周一上午4:20写道:
@juanmao https://github.com/juanmao Is this issue still happen or can this be closed ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sameersbn/docker-gitlab/issues/1381#issuecomment-342002065, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRvP0Vj2hsVMcDnnErLg1BNWQuOv7MPks5szhh_gaJpZM4P1fif .
@juanmao This is DNS problem like @cat5 said. I think some goes wrong with your firewall settings and docker. I would not recommend to use a firewall with docker only when you know what you are trying to achieve.
but in fact after I disable the firewall, stop and up docker-compose again, it still not working.
2017-11-14 18:28 GMT+08:00 Niclas Mietz notifications@github.com:
@juanmao https://github.com/juanmao This is DNS problem like @cat5 https://github.com/cat5 said. I think some goes wrong with your firewall settings and docker. I would not recommend to use a firewall with docker only when you know what you are trying to achieve.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sameersbn/docker-gitlab/issues/1381#issuecomment-344214008, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRvP4yu1oeITXI6jhL9xCxuVPDk-hlbks5s2Ws8gaJpZM4P1fif .
@juanmao Docker DNS usually just works, but have a look here: https://docs.docker.com/engine/userguide/networking/default_network/configure-dns/
You can also verify if you exec into the container, cat out /etc/resolv.conf
and make sure it's populated correctly, and even try a ping smtp.gmail.com
and see if it replies.
I'd assist more, except I run gitlab+registry on a kubernetes cluster, so my networking is different than yours.
This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.
I use docker-compose up to install the gitlab. I have configure gmail in yml file.
but when I test email, it shows error below, does anybody have any ideas? which Name or service not known? gmail.com?
@@@update again @@@ it seems to be a bug of docker, but it not work after I disabled firewalld see here https://github.com/docker/compose/issues/5106