How do you keep docker/podman containers up-to-date?

cat@lemmy.world to Selfhosted@lemmy.world – 109 points –

I used to simply use the 'latest' version tag, but that occasionally caused problems with breaking changes in major updates.

I'm currently using podman-compose and I manually update the release tags periodically, but the number of containers keeps increasing, so I'm not very happy with this solution. I do have a simple script which queries the Docker Hub API for tags, which makes it slightly easier to find out whether there are updates.

I imagine a solution with a nice UI for seeing if updates are available and possibly applying them to the relevant compose files. Does anything like this exist or is there a better solution?

67

You are viewing a single comment

Kubernetes with ArgoCD declarative config and then Renovate. It automatically makes prs against my config repo for container/chart versions with the change log in the description

+1 for renovate.

A little bit different setup - helmfile in git repository + pipelines in woodpecker-ci.

You obviously know a thing or two about Kubernetes. I'm trying to learn. I've been at the cloud native conference, I attended the vmware tanzu course, even played with microk8s on my laptop. I still look for the "aha!" moment, when I understand the point of it all, and everything clicks into place.

However, whenever I see somebody describe their setup, I just cringe. It all just feels like we're doing simple things in an obscure and difficult way.

The technology has been here for almost a decade, and it's obviously not going away. How can I escape the misery, and start loving k8s?

Picture somehow related...

For sure, just stacking turtles all the way down... 🐢 It's definitely overkill for a home lab, but I'm an infra engineer, and it's what I use daily, so setting it up was worth it because I'm already really familiar with the stack. That said, I do absolutely love having declarative setup at home because I'll sometimes go months without touching things. Before I spent the time to make it declarative, I'd frequently forget how I set certain things up and waste time redoing, or figuring out where I left off. Now I just check commit history and I'm always moving forward.

You weren't asking me, but I've used K8s professionally and my take is that K8s is only suited for business environments, ones with a good number of devs and users and complex deployment/runtime needs. You're not finding that "aha!" with K8s for self-hosting at home because, simply put, you are not the target market. It's way overkill for your needs. The one exception is if you're trying to learn it at home so you can use it in a corporate environment. In that case, go wild. But just don't expect it to make sense for most modest home lab or self-hosting needs.