Skip to content
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

project dead? no commits in 2+ years. alternatives? #2067

Open
utdrmac opened this issue Jan 5, 2025 · 15 comments
Open

project dead? no commits in 2+ years. alternatives? #2067

utdrmac opened this issue Jan 5, 2025 · 15 comments

Comments

@utdrmac
Copy link

utdrmac commented Jan 5, 2025

Is your feature request related to a problem? Please describe.

is this project dead? most recent commit was 2+ years ago. what are the alternatives?

Describe the solution you'd like

Solution: keep project alive

Describe alternatives you've considered

Unknown alternatives

Additional context

If the project is dead, please properly archive it so the community knows not to expect any new features/changes.

@bwitt
Copy link

bwitt commented Jan 5, 2025

I am considering https://github.com/getwud/wud as an alternative.

@o
Copy link

o commented Jan 15, 2025

Wud seems cool AFAIK but you have to define the image version patterns for each image you're using, otherwise it recommends you random latest image in the registry. Watchtower works seamlessly and doesn't require much of a config. But I am also looking for the alternatives.

@utdrmac
Copy link
Author

utdrmac commented Jan 15, 2025

I tried WUD. It was too complicated. The terminology also doesn't make sense to me. Everything is a "trigger", including notifications. It also does not handle compose files with multiple containers very well. They really need to separate concerns.

I've switched to https://github.com/crazy-max/diun because all I really want is something to notify me when new images are available.

@thebigbone
Copy link

I think a maintained fork would be better because it's most likely widely used and no updates since 2 years has definitely halted at least the security patches from go and other dependencies it uses.

@JourneyOver
Copy link

Looking at the forks this one here https://github.com/beatkind/watchtower seems to be the most up to date and seems like he has plans on trying to keep things up to date as best as he can.

@MrExplode
Copy link

One alternative, idealistic solution could be updating your compose files with Renovate. However this requires a working IaC setup, opposed to Watchtower which works directly on the docker daemon.

The very clear advantage is Renovate's very customizable approach on updates, with breakage and adoption metric and others, compared to the simple version bumping Watchtower provides.
The downside is, as I said the IaC approach, which requires additional config for deployment.

@nicholas-fedor
Copy link

The Containrrr/Watchtower repository is definitely no longer under active development.
I opted to just fork and start updating things, but there's still plenty of work left, such as separating the notifications functionality away from Containrrr/Shoutrrr.

https://github.com/nicholas-fedor/watchtower

@brutaldev
Copy link

If anyone is looking for a simple non-container-based alternative, I've just open sourced ContainerUpdater: https://github.com/brutaldev/ContainerUpdater

@NeurekaSoftware
Copy link

If anyone is looking for a simple non-container-based alternative, I've just open sourced ContainerUpdater: https://github.com/brutaldev/ContainerUpdater

Your readme says that alternatives that use docker add unnecessary complexity. Can you elaborate on that?

@brutaldev
Copy link

@NeurekaSoftware
Simply that it's not a container and just a console/terminal app.
Just take a look at the Watchtower documentation, it can get pretty complicated to setup the container in the correct way to perform the updates especially if you use a lot of different compose groups and networks and various authentication mechanisms

The reasons I ended up building ContainerUpdater over other container-based solutions is:

  • Basic setup for beginners is painful having to mount the right config and the correct sock depending on your OS and architecture.
  • Using credential helpers requires special setup and isn't automatic.
  • They often just don't work well in Windows.
  • They tend to lose labels and grouping when recreating containers.
  • Couldn't get them working using Podman.
  • It's difficult to interact with the container compared to a regular console.
  • I wanted to double click something to just get the job done...

I do list these things under the same "Alternatives" section.

@NeurekaSoftware
Copy link

@NeurekaSoftware Simply that it's not a container and just a console/terminal app. Just take a look at the Watchtower documentation, it can get pretty complicated to setup the container in the correct way to perform the updates especially if you use a lot of different compose groups and networks and various authentication mechanisms

The reasons I ended up building ContainerUpdater over other container-based solutions is:

  • Basic setup for beginners is painful having to mount the right config and the correct sock depending on your OS and architecture.
  • Using credential helpers requires special setup and isn't automatic.
  • They often just don't work well in Windows.
  • They tend to lose labels and grouping when recreating containers.
  • Couldn't get them working using Podman.
  • It's difficult to interact with the container compared to a regular console.
  • I wanted to double click something to just get the job done...

I do list these things under the same "Alternatives" section.

I see, that's an interesting take. I can't speak for issues with Podman, but I've never had issues with labels and grouping when recreating containers. In fact, the compose file to setup watchtower is extremely simple. Just a few lines and your containers will stay up to date unless you need to pin versions. I've also had it working fine in Windows, but fwiw Docker Desktop is an entirely different beast with a huge set of problems. I really think having beginners copy a simple compose file is the easiest way to get started.

Do you plan to have your tool include a scheduler and run as a system process? I think keeping containers up to date is also important, and something beginners will forget to do (assuming this is aimed at beginners)- despite the potential risks with pinning latest.

@MrExplode
Copy link

MrExplode commented Mar 8, 2025

Who exactly are you targeting with your solution? Anyone taking the effort to automate image updates (IMO) are

  • not struggling with watchtower setup
  • most definetly not running docker on windows :trollface:
  • do not have a problem with executing docker exec -it <container> /bin/sh

I've been running watchtower for years now in multiple environments, never experienced any of the mentioned problems.

@brutaldev
Copy link

brutaldev commented Mar 8, 2025

@NeurekaSoftware

I really think having beginners copy a simple compose file is the easiest way to get started.

Problem is, the simple compose file example is not even cross-platform because of the sock/pipe mount required. If Watchtower works for you then by all means keep using it. I was just suggesting an alternative that IMHO is easier to use, includes a number of defaults that need to be manually configured with Watchtower, and fixes a few issues we've recently experienced. What could be simpler than running ContainerUpdater from the terminal or double-clicking 😏

I have nothing against Watchtower, I've used it a lot, but I feel like I've spent too much time getting it work well/quickly with teams in different environments. Having to maintain different compose files for different engines and operating systems, different mount options for credential helpers instead of just detecting what you have installed, and mismatches with single digest lookups compared to what is pulled was enough for me to come up with my own solution.

Do you plan to have your tool include a scheduler and run as a system process?

Sure, there are a couple of things I want to add in the TODO section of the readme to make it more feature complete and configurable, perhaps even a system tray app. It's also very easy to use Task Scheduler in Windows, Cron Jobs in Linux or other scripts because it's just a stand-alone executable that you can already install as a global tool. For the most part I use it in scripts that update development environments or just on demand when I run other system updates on my own schedule.

@MrExplode

Who exactly are you targeting with your solution?

People who want one / the same command on all operating systems, people who want this to work well in Windows and with Podman, people who have issues with Watchtower downloading the same update over and over from certain registries, and whoever doesn't want to use another container to update their containers 😜

not struggling with watchtower setup
most definetly not running docker on windows :trollface:
do not have a problem with executing docker exec -it /bin/sh

I've been a long-time user of Watchtower as well and I wouldn't say it's a "struggle", but it requires significantly more setup and reading (especially with any private repos and cred helpers) than simply running ContainerUpdate.
Haha, nice try, but the docs for Watchtower don't even show how to mount against npipe implementations, so on Windows you have a more difficult setup already.
The basic command in the quick start is docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower, that's a lot more complex (and doesn't work in Windows) than simply using the default ContainerUpdate command.

The equivalent to what Container Update does using Watchtower would be mounting configs (also OS specific) linking specific credential helpers (somewhat advanced knowledge), using run-once and let's not mention it will look completely different if you are doing this in Windows,

For the record, Watchtower is great and if it works for you then use it. Container Updater is there an alternative if you want to try it.

@NeurekaSoftware
Copy link

@brutaldev thanks for your response! I'll check it out and see how I like it. I wasn't happy with wud when looking at the docs earlier today so I'm open to other options since watchtower isn't being maintained anymore.

@thebigbone
Copy link

thebigbone commented Mar 8, 2025

so on Windows you have a more difficult setup already.

Stop using windows. It is nothing more than a gaming OS. Doing any sort of development on it is a nightmare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants