ublue-os / toolboxes

Centralized repository of containers designed for Toolbox/Distrobox
Apache License 2.0
42 stars 10 forks source link

Do these containers follow the "latest" tag? #105

Open boredsquirrel opened 2 weeks ago

boredsquirrel commented 2 weeks ago

This issue describes the big problem with using versioned Distrobox containers as an OS with a package manager.

As the concept is doing all changes manually as the user, and not during the image creation, doing a system upgrade (version upgrade) is difficult.

Do these containers fix this issue in some way? Does this even work?

m2Giles commented 2 weeks ago

Fedora and Ubuntu are tied to versioned podman images.

Fedora from toolbx repo and Ubuntu from docker hub. When new releases occur we bump the version. Fedora will bump every 6ish months and Ubuntu every 2ish years. However we only really use the latest tag.

While Distroboxes can be turned into pets, you likely shouldn't treat them fully like pets. You noted that doing a major version upgrade doesn't quite work. And I would agree with that. Distrobox assemble is a tool to help you declare your distrobox and rebuild it quickly. For my distroboxes I usually do this weekly.

On bluefin/Aurora we consume these images using quadlets. With quadlets we have the distrobox recreated on each login and image updates happen daily.

I would say. For major versions rebuild the container. Don't try doing an apt dist-upgrade