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

Add /etc/nsswitch.conf to alpine images #76

Closed
2solt opened this issue Apr 7, 2017 · 2 comments · Fixed by #77
Closed

Add /etc/nsswitch.conf to alpine images #76

2solt opened this issue Apr 7, 2017 · 2 comments · Fixed by #77
Assignees

Comments

@2solt
Copy link

2solt commented Apr 7, 2017

Looks like non of the TICK application using /etc/hosts without it.
Adding the following line to Dockerfile solves the problem:
RUN echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' > /etc/nsswitch.conf

@jsternberg
Copy link
Contributor

It looks like the default value for this in the standard ubuntu image is:

hosts: files dns

What are the other sections you've placed in the line?

@2solt
Copy link
Author

2solt commented Apr 10, 2017

Yeah your right, that's should be sufficient.
(The other options is for mDNS or Multicast DNS )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants