[Feature] Multi-client support #687
Replies: 5 comments
|
I have added this feature request here, as it's something that I would like to eventually tackle. Watchtower currently focuses on supporting single hosts and implementing this will require touching a significant portion of the codebase. I would like to first get the other issues squared away before tackling this. |
|
There is mention of Dozzle's implementation for multi-client support. https://dozzle.dev/guide/remote-hosts It seems the core of the multi-host support lies here: |
|
I like the idea but am unsure of the implementation. If an agent could be 'pushed' from the Server to the host, it might be an interesting twist of use case? My workflow today is, after provisioning a new host, I install Portainer agent on the host. When Portainer is up, I add additionally 2-3 containers via Stacks. Adding Watchtower or a Watchtower-agent container is the 'same' work. |
|
I found this topic as I was looking for multi-docker support as I am currently running Watchtower on every Docker daemon. After reading the above: If it requires remote configuring (like an agent) then I probably won't use such a feature but stay with individual Watchtower instances. If it requires substantial risky code changes: Save it for when all else is perfect ;) |
|
was also wondering about a single instance managing multiple hosts, and arrived here |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
Watchtower is limited in that it only supports a single Docker client.
In situations where a user has several Docker hosts, either physical or virtual (VM's, LXC's, etc), this results in needing multiple instances of Watchtower for each Docker instance.
Describe the solution you'd like
It would be more efficient to have a single instance of Watchtower that supports managing updates for multiple Docker hosts.
Describe alternatives you've considered
There are currently no alternatives.
Additional context
This has been discussed in the upstream repository:
containrrr/watchtower#1902
containrrr/watchtower#1218
All reactions