BOOTC-IN-CONTAINER(7)

πŸ“¦
version 1.17.1 Β· 3 versions
, in fedora 43, fedora 44

✨ 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 via bootc or not. it's the vibe detector fr fr πŸ”βœ¨
  • bootc container lint β€” see man/bootc-container-lint.8.md (see bootc-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