Support execution in a container
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.
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.
Could you clarify the user story here? I think I get it but I'm not sure
$ 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?