Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when using docker + linking + golang it doesn't read /etc/hosts properly #14170

Closed
blacktop opened this issue Jan 31, 2016 · 8 comments
Closed

Comments

@blacktop
Copy link

Please see:

@bradfitz
Copy link
Contributor

bradfitz commented Feb 1, 2016

Please file a complete bug report with a summary that stands alone. Nobody likes chasing down a dozen links to guess which part the bug report might be about.

And if this is about the DNS resolver, please search to see if an existing bug is a dup. I suspect it might be in this case. I've seen some others open mentioning similar things.

@bradfitz bradfitz closed this as completed Feb 1, 2016
@wildattire
Copy link

Ran into this bug today. Why is the issue closed? This is definitely a showstopper for use of go apps in docker containers.

@mdempsky
Copy link
Contributor

mdempsky commented Apr 5, 2016

@bradfitz explained why it's closed:

Please file a complete bug report with a summary that stands alone. Nobody likes chasing down a dozen links to guess which part the bug report might be about.

@minux
Copy link
Member

minux commented Apr 5, 2016 via email

@blacktop
Copy link
Author

blacktop commented Jun 5, 2016

@wildattire https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/G-faJ0bthz0

The problem is with Alpine, specifically musl's DNS behavior, and not Go. See e.g. gliderlabs/docker-alpine#8. I believe the issue will be fixed in Alpine in the near future.

I can confirm that Alpine 3.4 fixes the issue.

@jolestar
Copy link

The problem seem still exist for golang with alpine after 3.4.

@mattn
Copy link
Member

mattn commented Sep 28, 2016

Please fill asnwers of questions in template at top of comment.

Please answer these questions before submitting your issue. Thanks!

### What version of Go are you using (`go version`)?


### What operating system and processor architecture are you using (`go env`)?


### What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.


### What did you expect to see?


### What did you see instead?

URL doesn't match with using keywords on issue search.

@bradfitz
Copy link
Contributor

Somebody, please file a real bug report. I'm freezing this noisy one.

@golang golang locked and limited conversation to collaborators Sep 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants