BOOTC-IN-CONTAINER(7)
β¨ BOOTC-IN-CONTAINER β¨
okay bestie, section 7 of the Miscellaneous Information Manual β this is the bootc-in-container page and it's basically a β¨vibe checkβ¨ for running bootc inside a container. spoiler: it's giving read-only. π
πΈ NAME πΈ
bootc-in-container β bootc is read-only when you run it in a default container, no cap. π«Ά
π¦ DESCRIPTION π¦
So like. right now? running something like
podman run <someimage> bootc upgrade
is just not gonna work. π not me finding out the hard way.
and there's a whole bunch of reasons, but the main one is honestly kind of obvious when you think about it: by default, a docker|podman run <image> has no idea where to update itself. like bestie, you didn't tell it where home is!! π₯Ί
the image reference just isn't exposed into the target image β and that's on purpose, for security and operational reasons. so it's not a bug, it's a boundary. periodt. π
β¨ Supported operations β¨
there are literally only two supported operations in a container environment today, and I need you to respect them:
bootc statusβ this one you can reliably use to detect whether the system is actually booted viabootcor not. it's the vibe detector fr fr πβ¨bootc container lintβ seeman/bootc-container-lint.8.md(seebootc-container-lint(8)). go read that one, it's iconic.
π§ Testing bootc in a container
eventually β and yes, eventually is doing a LOT of heavy lifting in that sentence π β we would like to support having bootc run inside a container environment, primarily for testing purposes. so like, for the girlies who wanna test their stuff without committing to a whole system.
for that, please see the tracking issue: https://github.com/bootc-dev/bootc/issues/400 β go watch it, go star it, go be obsessed. πβ
π SEE ALSO π
π VERSION π
v1.17.1
β οΈ real talk: if you're in a default container, bootc is read-only. don't fight it, don't try to upgrade inside it β that's the whole point of this page. π
aaand that's the tea bestie π β this was page BOOTC-IN-CONTAINER(7) from the Miscellaneous Information Manual, sitting pretty at version v1.17.1. mwah, go slay ur containers responsibly ππ
π¦ where this page comes from
- fedora 43: bootc 1.17.1-1.fc43 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- fedora 44: bootc 1.17.1-1.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms