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
docker swarm service update #43
Comments
At the moment watchtower can only update local running containers. I've briefly taken a look into the api, I think it should be possible to enhance watchtower with this functionality. |
That would be of great help for us as well. I hope we see this functionality soon. Thank you for your hard work |
this feature is must for future. Im looking forward to see this one day |
🙏 |
👍 |
Would deploying watchtower service to all manager & worker nodes in a swarm cluster achieve the same functionality as is in non-swarmed nodes?? |
@oguya No, it does not work, because swarm manages the running containers itself. As it turns out, automatically updating containers in a swarm-mode cluster is a lot simpler, since swarm itself queries the registry and updates the running containers every time you call That is what I have just done with shepherd. |
@djmaze looks interesting.. I assume shepherd needs to be constrained to the manager ? |
@danieljuhl You are right, of course. Also there needs to be exactly one replica running. I updated the README accordingly. Thanks! |
+1 |
Is there any update on this issue? Seems like Shepherd does the job: https://github.com/djmaze/shepherd But I'd rather have one program updating my containers |
+1 https://github.com/djmaze/shepherd seem to be working fine. Just a concern that I see that logs talks about updating service all the time, regardless if the base image is changed or not... |
@dhruvit01 exactly, That's an issue I'm experiencing with shepherd... And would like watchtower to pick up where they slack off. |
@Dunky13 : Agree. At this point I am using both but would like to have watch tower to support swarm. Any news/timeline on if/when this should be coming in? |
With that said; what are the actual functional requirements? Would someone even like to have a stab at implementing it? If so, feel free to - I'll make sure to review the PR. Thanks 🙏 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Don't think this should be closed or stale imho. It's an issue that can/should be addressed in the future. Closing it will put in too much in the background. |
If I use local containers and swarm containers will this try to update the swarm containers? |
@sixcorners I don't know to be totally honest as I don't use swarms myself. Feel free to try and report back! 😅 |
Closing this issue. As @stffabi stated previously, the swarm support is currently extremely limited (if any). If you have any more specific errors, or would like to have a stab at implementing more thoroughly covering swarm support, please open a new issue and/or PR respectively. Thank you. |
To avoid important communication to get lost in a closed issues no one monitors, I'll go ahead and lock this issue. If you want to continue the discussion, please open a new issue. Thank you! 🙏🏼 |
Is it possible to trigger an update to a docker swarm service ?
The text was updated successfully, but these errors were encountered: