bootc icon indicating copy to clipboard operation
bootc copied to clipboard

Support execution in a container

Open cgwalters opened this issue 1 year ago • 1 comments

We should support an in-place upgrade flow when executed in a container. There are a few stumbling blocks for this; probably the biggest is we need to turn off selinux labeling.

cgwalters avatar Mar 18 '24 14:03 cgwalters

Another thing that is going to be tricky here is using composefs in a container currently requires full real root privileges (xref https://lwn.net/Articles/755593/ etc.). So...we'd have to degrade down to just writing files which would be kind of stinky.

cgwalters avatar Mar 20 '24 17:03 cgwalters

Could you clarify the user story here? I think I get it but I'm not sure

omertuc avatar Jan 13 '25 23:01 omertuc

$ podman run  quay.io/fedora/fedora-bootc:41 bash
# bootc switch quay.io/fedora/fedora-bootc:42
# bootc status

or so to start...though there's open questions here whether a preparatory step we'd transform the filesystem into having ostree-like chroots, and then actually chroot into one before we support this. I.e. a bootc container init-sysroot or...hmm, actually maybe bootc install to-container?

cgwalters avatar Jan 14 '25 12:01 cgwalters