Skip to content

Conversation

@dolanor
Copy link

@dolanor dolanor commented Dec 17, 2016

Hi,

This PR make watchtower reload the updated containers with all the previous network it was connected to. (very useful while updating containers launched by docker-compose for example, that are connected to db/backend networks and proxy/frontend networks)

I based my work on your fork because I hoped that you changing the docker client lib to the official would solve my problem automagically. It didn't… But that was already a potential big stepping stone that I was ready to make, and that I didn't have to do thanks to you! 👍

With insights from moby/moby#29265
the behaviour is the same as the one from docker-compose

* connect to 1 network (at random) at start
* disconnect from that network
* reconnect to all the network from the previous configuration
@dolanor
Copy link
Author

dolanor commented Jan 2, 2017

I'm gonna close this as your PR has been merged and I proposed my patch directly to containrrr#40

@dolanor dolanor closed this Jan 2, 2017
@rosscado
Copy link
Owner

rosscado commented Jan 2, 2017

Cool. Sorry I couldn't give this any attention sooner. I thought I might get to it over the holidays but no such luck!

@dolanor
Copy link
Author

dolanor commented Jan 2, 2017

No problem, it was holidays afterwards. As long as it is merged somewhere else than my own tiny repo, it will make it available to more people. That's what counts.
Thank you for your patch again. Without you, I think it would have taken much more time.

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 this pull request may close these issues.

2 participants