Docker is hard work

https://lemmy.ml/post/45493507

Docker is hard work - Lemmy

Well, after a while in the container world ive come to realise that keeping all these containers up to date is hard work and time consuming with simple docker compose. I’ve recently learnt that portainer may come to hand here. I believe that feeding the yaml file through portainer allows the latter to take control of updates. Correct? I have a Truenas Scale machine with a VM running my containers as i find its the easiest approach for secure backps as i replicate the VM to another small sever just in case. But i have several layers to maintain. I dont like the idea of apps on Truenas as I’m worried i dont have full control of app backup. Is there a simpler way to maintain my containers up to date?

Are you updating 1000’s of stacks every week? I update a couple critical things maybe once a month, and the other stuff maybe twice a year.

I don’t recommend auto updates, because updates break things and dealing with that is a lot of work.

Learnt this the hard way. Been version pinning ever since.

I’ve had auto updates on since day one, and the only thing that has ever broken was when filebrowser changed to filebrowser quantum. I just needed to update my config.

I guess it depends what you run, and how the projects/containers are configured to handle updates and “breaking changes” in particular.

But also, I’m being a bit broad with the term “breaking changes”. Other kinds of “breaking changes” that aren’t strictly crashing the software, but that still cause work include projects that demand a manual database migration before being operational, a config change, or just a UI change that will confuse a user.

The point is, a lot of projects demand user attention which completely eclipses the effort required to execute a docker update.

Well, I also use Stash, and every couple weeks I get prompted to do a database schema upgrade. So I click the button and a few seconds later I’m back to using it.

A while back, some of the arrs started requiring authentication, so I had to create a password.

But outside of those scenarios, I don’t think I’ve seen any significant changes. There’s always slight changes, but I’m pulling updates because I want those changes.

If there is some unusual case where a change is really unwanted, I’ll downgrade and/or restore from backup.