bootc-container-inspect - Man Page

bootc-container-inspect - Output JSON to stdout containing the container image metadata

Synopsis

bootc container inspect

Description

Output JSON to stdout containing the container image metadata.

Output

The command outputs a JSON object with the following fields:

Options

--rootfs=ROOTFS

Operate on the provided rootfs

Default: /

--json

Output in JSON format

--format=FORMAT

The output format

Possible values:
- humanreadable
- yaml
- json

Examples

Inspect container image metadata:

bootc container inspect

Example output (vmlinuz kernel):

{
  "kargs": [
    "console=ttyS0",
    "quiet"
  ],
  "kernel": {
    "version": "6.12.0-0.rc6.51.fc42.x86_64",
    "unified": false
  }
}

Example output (UKI):

{
  "kargs": [],
  "kernel": {
    "version": "7e11ac46e3e022053e7226a20104ac656bf72d1a",
    "unified": true
  }
}

See Also

bootc(8)

Version

v1.12.1