signalfx / maestro-ng

Orchestration of Docker-based, multi-host environments
https://signalfx.com
Apache License 2.0
685 stars 83 forks source link

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

Closed bradjones1 closed 8 years ago

bradjones1 commented 9 years ago

Similar to the line of discussion on https://github.com/docker/docker/issues/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 commented 9 years ago

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

bradjones1 commented 8 years ago

https://github.com/signalfuse/maestro-ng/issues/154 seems like a more elegant solution. Closing.