Comment on Docker dashboards: choice overload
suicidaleggroll@lemmy.world 6 days ago
I use node_exporter (for machines/VMs) and cAdvistor (for Docker containers) + VictoriaMetrics + AlertManager/Grafana for resource usage tracking, visualization, and alerts.
For updates, I use a combination of dockcheck.sh and OliveTin with some custom wrappers to dynamically build a page with a button for every stack that includes a container with an update. Clicking the button applies the update and cycles the container. Once the container is updated, its button disappears from the page. So just loading the page will tell you how many and which containers have available updates and you can update them whenever you like from anywhere, including your phone/tablet, with one button click. I also have apt updates for VMs and hosts integrated onto this page, so I can update the host machines as well in the same way.
ModernPotatoDoctor@lemmy.world 6 days ago
I have a basic understanding of Grafana since we use it at work. It definitely fits the question, but it’s also very much overkill for my purposes - maybe not in the range of features, but definitely in scope.
Your mention of dockcheck.sh is gold! Someone else mentioned diun, but I think this shell script is even better. As long as there’s a simple way to determine which containers use outdated images, I’m good. The metrics part can be solved with a tool like Beszel or I can whip something up myself if I don’t find anything good enough.
suicidaleggroll@lemmy.world 6 days ago
Yeah you can either have it update the containers itself, or just print out their names. With a custom plugin you can make it output the names of any containers that have available updates in whatever format you like. This discussion on the github page goes through some example scripts you can use to serve the list of containers with available updates over a REST API to be pulled into any other system you like (eg: Homepage dashboard).
github.com/mag37/dockcheck/discussions/146