this post was submitted on 11 Jul 2025
4 points (100.0% liked)

Docker

54 readers
3 users here now

Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.

founded 2 years ago
MODERATORS
 

I run a docker container and it has some outdated bits which I forked and updated. The changes need testing and no one else seems to wanna do it. For some odd reason I'm nervous about pointing the image at my repo and building from that. Am I Being Stupid? It's not like if it fails I can't just recreate the image. None of the databases are gonna be affected. So what am I anxious about?

top 2 comments
sorted by: hot top controversial new old
[–] Scipitie@lemmy.dbzer0.com 2 points 3 weeks ago (1 children)

Not stupid, friend, careful about unknowns :) and it's normal that a project wants to receive tested and validated pull requests - finding good testers is nearly as tough as finding devs I think.

And you're right: your situation is what docker usually excells at.

To address your concerns I suggest a three stage approach:

Pull/build from your repo in parallel with new volumes own port(s) etc. create some dummy data in there and rebuild with the test data, check that reconstruction works.

Then shut it down and remove it again. copy the volumes of your existing container and use that for the second instance.

If everything works fine there as well then shut down the old version, create a backup of the volumes and update it with your version.

This way you're safe and have an easy time seeing where and when something breaks at the same time.

You could also start with the last step and the backups only - but this way you can take w conscious step after the other. Your choice!

[–] sabreW4K3@lazysoci.al 2 points 3 weeks ago

Thank you so much. I appreciate your wisdom and support ♥️