You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for all the awesome work on Watchtower. :)
Is your feature request related to a problem? Please describe.
I use Docker for running desktop applications on my Linux laptops (i.e. Firefox, Tor Browser, etc.). If I have Watchtower running in the background while using one of these applications in a Docker container it will often kill the container without warning so that it can run a new container with the new image.
The delay is brief as the updates are usually relatively quick, but still annoying when I'm in the middle of some sort of session with the container and it just dies and re-opens. For example, if I'm using Firefox in a Docker container and I'm browsing Watchtower can just kill my Firefox session after pulling an updated image for the image I am using for the container.
Describe the solution you'd like
It would be awesome if Watchtower supported a way to notify a user that an image update is pending and then for the user to confirm the update before Watchtower attempts to kill the container after pulling the image.
Preferably for my use-case, it would be great to have desktop notifications and confirmation prompts. However, I understand if that's out of scope since containers are typically not geared toward desktop use.
A potential workflow could be something like this (using Slack as an example):
User sets up a Slack app for Watchtower.
Allow Watchtower to send and receive messages using that app.
When Watchtower has pulled a new image for a running container, send the user a message via Slack prompting with yes/no for an update.
When user approves the update, kill the running container and replace it with a container using the newer image. If the user doesn't approve the update, wait for a time before prompting again (perhaps with a timeout configuration setting).
If there were some way at all to approve container updates that would be great. I looked at the documentation and saw no feature/argument there for something like this. I think this would be beneficial not just for my use case, but I think it'd probably be a cool feature for Watchtower to implement in general.
Describe alternatives you've considered
Looking at the Watchtower documentation I don't know if there is a possible alternative aside from just not using Watchtower and pulling images manually or writing some alternative program/shell script for this specific use-case (which I will probably attempt in the meantime).
The text was updated successfully, but these errors were encountered:
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏
Unfortunately, this is not something we're looking to implement at this time. However, If you'd like to have a stab at implementing it, I'd be happy to assist in reviewing the code.
First off, thanks for all the awesome work on Watchtower. :)
Is your feature request related to a problem? Please describe.
I use Docker for running desktop applications on my Linux laptops (i.e. Firefox, Tor Browser, etc.). If I have Watchtower running in the background while using one of these applications in a Docker container it will often kill the container without warning so that it can run a new container with the new image.
The delay is brief as the updates are usually relatively quick, but still annoying when I'm in the middle of some sort of session with the container and it just dies and re-opens. For example, if I'm using Firefox in a Docker container and I'm browsing Watchtower can just kill my Firefox session after pulling an updated image for the image I am using for the container.
Describe the solution you'd like
It would be awesome if Watchtower supported a way to notify a user that an image update is pending and then for the user to confirm the update before Watchtower attempts to kill the container after pulling the image.
Preferably for my use-case, it would be great to have desktop notifications and confirmation prompts. However, I understand if that's out of scope since containers are typically not geared toward desktop use.
A potential workflow could be something like this (using Slack as an example):
If there were some way at all to approve container updates that would be great. I looked at the documentation and saw no feature/argument there for something like this. I think this would be beneficial not just for my use case, but I think it'd probably be a cool feature for Watchtower to implement in general.
Describe alternatives you've considered
Looking at the Watchtower documentation I don't know if there is a possible alternative aside from just not using Watchtower and pulling images manually or writing some alternative program/shell script for this specific use-case (which I will probably attempt in the meantime).
The text was updated successfully, but these errors were encountered: