BOOTC-STATUS(8)
π BOOTC-STATUS(8) π
okay bestie, welcome to bootc-status from the System Manager's Manual, section 8 (that's the "sysadmin, we live here now" section, iykyk π«Ά). This is the little command that tells you what's actually going on with your system. Let's get into it. β¨
πΈ NAME πΈ
bootc-status β Display status. that's it. that's the whole job. and she does it flawlessly π
π SYNOPSIS π
bootc status [OPTIONS...]
π¦ DESCRIPTION π¦
Display status. π«
So here's the tea: if standard output is a terminal, this outputs a description of the bootc system state β like, a nice readable lil vibe check for your eyeballs. But if standard output is not a terminal (aka you're piping it somewhere, bestie), it outputs a YAML-formatted object using a schema intended to match a Kubernetes resource that describes the state of the booted system. iconic behavior honestly π
So basically: same command, two completely different fits depending on where the output is going. main character energy that adapts to the room. π
π§ Parsing output via programs
Either the default YAML format or --format=json can be used.
β οΈ Do not attempt to explicitly parse the output of --format=humanreadable β it will very likely change over time. fr fr, do not do this. it's giving fragile. π
π Programmatically detecting whether the system is deployed via bootc
Invoke e.g. bootc status --json, and check if status.booted is not null. simple as that, bestie β¨
π Detecting rpm-ostree vs bootc
There is no "bootc runtime". When used with the default ostree backend, bootc and tools like rpm-ostree end up sharing the same code and doing effectively the same thing. Hence, there isn't a mechanism to detect if a system "is bootc" or "is rpm-ostree".
like... they ARE each other. it's the same code underneath. they're sharing a brain cell and honestly? slay. π§ β¨
However, if the incompatible flag is set on a deployment, then there are layered packages and rpm-ostree must be used for mutation. no cap. π
β¨ OPTIONS β¨
--format=FORMATβ The output format π Possible values:humanreadableyamljson
--format-version=FORMAT_VERSIONβ The desired format version. There is currently one supported version, which is exposed as both0and1. Pass this option to explicitly request it; it is possible that another future version 2 or newer will be supported in the future π--bootedβ Only display status for the booted deployment. just the one we're running on rn, bestie π₯Ύ-v,--verboseβ Include additional fields in human readable format πβ¨
π₯ EXAMPLES π₯
Show current system status:
bootc status
Show status in JSON format:
bootc status --format=json
Show detailed status with verbose output:
bootc status --verbose
Show only booted deployment status:
bootc status --booted
π SEE ALSO π
bootc(8), bootc-upgrade(8), bootc-switch(8), bootc-rollback(8)
go read those too, bestie, they're all part of the same lil family π«ΆπΊ
π VERSION π
v1.17.1
okay that's the whole page! π this was BOOTC-STATUS(8) from the System Manager's Manual, and we're sitting pretty at version v1.17.1. thank you for coming to my ted talk, go check your status, and remember: pipe it to YAML if you're scripting, never parse the humanreadable one, and always know whether you're booted. mwah! ππ
πΈβ¨
π¦ 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