You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
container inspect: Add human-readable and yaml output formats
The container inspect command previously only supported JSON output.
This extends it to support human-readable output (now the default)
and YAML, matching the output format options available in other
bootc commands like status.
The --json flag provides backward compatibility for scripts that
expect JSON output, while --format allows explicit selection of
any supported format.
Assisted-by: OpenCode (Sonnet 4)
Signed-off-by: Colin Walters <walters@verbum.org>
Copy file name to clipboardExpand all lines: docs/src/man/bootc-container-inspect.8.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The command outputs a JSON object with the following fields:
16
16
17
17
-`kargs`: An array of kernel arguments embedded in the container image.
18
18
-`kernel`: An object containing kernel information (or `null` if no kernel is found):
19
-
-`version`: The kernel version identifier. For traditional kernels, this is derived from the `/usr/lib/modules/<version>` directory name (equivalent to `uname -r`). For UKI images, this is is the UKI filename without the `.efi` extension - which should usually be the same as the uname.
19
+
-`version`: The kernel version identifier. For vmlinuz kernels, this is derived from the `/usr/lib/modules/<version>` directory name (equivalent to `uname -r`). For UKI images, this is the UKI filename without the `.efi` extension - which should usually be the same as the uname.
20
20
-`unified`: A boolean indicating whether the kernel is packaged as a UKI (Unified Kernel Image).
21
21
22
22
# OPTIONS
@@ -28,6 +28,19 @@ The command outputs a JSON object with the following fields:
0 commit comments