mag37

joined 1 year ago
[–] [email protected] 1 points 33 minutes ago

Thats really nice! Thank you so much for the writeup.

Would you mind if I added this as a discussion (crediting you and this post!) in the github project? Or if you'd like to copypaste it yourself to get the credit and be a part of the discussion.

[–] [email protected] 2 points 8 hours ago

It's a different approach. This project started as a proof of concept - just to show that it's possible to check for updates without pulling the whole image first (which is how Watchtower does it).

Then it evolved to orchestrate granular automatic updates with a bunch of extra functionality - while still adhering to the core goal of keeping it simple and lightweight.

[–] [email protected] 2 points 16 hours ago (3 children)

Thank you! Oh! That's pretty cool, do you mind sharing bits of how this is done? Would be nice to incorporate into a notify-template in the future.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

Thank you!

I sadly don't have too much insights in the other alternatives, I try to not compare too much - maybe I should study them a bit more to understand the wider picture. There's a few more I forgot to mention; renovate and dependabot.

While I think all those tools are great and have functionality that my project cant fulfill - I strive to keep dockcheck simple and lightweight. Options and functionality have been bolted on bit by bit while still trying to have it as simple as possible in its core functions - so a user could just download the main script dockcheck.sh and run it to list updates and optionally update. Everything else is optional, extras.

I guess it depends on what you're looking for. If you'd like a GUI or more in depth setup or reporting - I'd look elsewhere, but if you'd like simplicity and maybe schedule it to notify you when there's updates available - my project may be the thing.

So my answer would be yes: if you're running docker compose this project is very newbie friendly and easy to get going!

 

dockcheck is simple CLI tool to simplify keeping track of and updating your containers. Selective semi/fully auto updates, notifications on new versions and much more.

Another 6 months have passed and a bunch of updates have been made. The most recent ones are multi-threaded/asynchronous checks to greatly increase speed, notifications on new dockcheck release for those who run scheduled unattended checks, osx and bsd compatibility changes, prometheus exporter to push stats to eg. Grafana and more.

I'm happy to see the project still being used and improved by its users as I thought other great tools (dockge, wud, watchtower and others) would replace it.

As it's been a while I'll try to list the features:

  • Checks all your containers for new updates, without pulling.
  • Manually select which containers or choose all.
  • Either run it to auto update all, or not update any and just list results.
  • Tie it to notify you on new updates.
    • Templates: Synology DSM, mSMTP, Apprise, ntfy.sh , Gotify , Pushbullet , Telegram , Matrix, Pushover , Discord.
    • Enrich with urls to container release notes.
  • Optionally export metrics to Prometheus to show how many images got updates available in a graph.
  • Other misc options as:
    • Use labels to only update containers with label set.
    • Use a N days old option to only update images that have been stable release N days.
    • Auto prune dangling images.
    • Include stopped containers.
    • Exclude specific containers.

I've got to thank this community for contributing with donations, ideas, surfacing issues, testing and PRs. It's a joy!