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

Updating hosts file in linked/dependent containers on restart #130

Closed
bradjones1 opened this issue May 29, 2015 · 2 comments
Closed

Updating hosts file in linked/dependent containers on restart #130

bradjones1 opened this issue May 29, 2015 · 2 comments
Assignees

Comments

@bradjones1
Copy link
Contributor

Similar to the line of discussion on moby/moby#6350 I'm wondering if it's possible to have the hosts files inside surviving (non-restarted) containers get updated with the new IP of the restarted container? As it stands right now it appears I have to manually go through and restart containers when those they're linked to get restarted, so as not to break communication?

@ykushch
Copy link

ykushch commented Sep 1, 2015

Yep, I think it could be a feature that could be activated by flag or so.

@bradjones1
Copy link
Contributor Author

#154 seems like a more elegant solution. Closing.

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

No branches or pull requests

3 participants