Updating hosts file in linked/dependent containers on restart
bradjones1 opened this issue · 2 comments
bradjones1 commented
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 commented
Yep, I think it could be a feature that could be activated by flag or so.
bradjones1 commented
#154 seems like a more elegant solution. Closing.