-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Mount /etc/hosts as read write #1959
Conversation
Fix 1951 - Unable to modify /etc/hosts file in a container
cc @shykes, this issue was automatically assigned to you by Gordon |
I think this is not that easy, if you do this, on commit, the modifications on /etc/host won't be saved. |
You're right, just tested. I'll see if i can fix this. |
I believe the issue here is that every time you run the image, the hostname changes, so |
the @tianon proposal could work, even though not ideal. |
Right, it's not an easy fix so I decided to use dnsmasq instead. |
@fabiofalci Are you still interested in completing this? |
@crosbymichael clearly my pull request is not enough and my workaround is working for me. And it seems we have more thing to do about these files, issue #2267. |
@fabiofalci Thanks for following up with this. |
Hi guys, Is this change available in 0.11.1? |
Fix #1951 - Unable to modify /etc/hosts file in a container