Skip to content

Expose --rootfs support in boxlite-cli #449

@RussellLuo

Description

@RussellLuo

boxlite-cli currently does not expose the RootfsPath capability that already exists in the core runtime / REST layer. Today, boxlite run
and boxlite create only accept an image reference and always go through RootfsSpec::Image, with no CLI option like --rootfs or --bundle.

This is limiting for a few practical use cases:

  • Running from a pre-exported local OCI bundle in offline / air-gapped environments
  • Reusing images that were prepared ahead of time, without requiring a registry pull at runtime
  • Testing custom or locally built root filesystems
  • Using BoxLite in environments where registry access is slow, restricted, or undesirable

It would be useful if the CLI could expose this directly, for example with something like:

boxlite run --rootfs /path/to/rootfs-or-oci-bundle ...
boxlite create --rootfs /path/to/rootfs-or-oci-bundle

This would make the CLI consistent with the runtime capabilities and improve offline/local-image workflows significantly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions