Skip to main content
Version: Next

blobber ls

List files in an OCI image without downloading.

Synopsis​

blobber ls <reference> [flags]
blobber list <reference> [flags] # alias for backwards compatibility

Description​

Displays the files contained in an OCI registry image. Uses eStargz format to read only the table of contents, making this operation efficient even for large images.

Arguments​

ArgumentRequiredDescription
referenceYesOCI image reference (e.g., ghcr.io/org/repo:tag)

Flags​

FlagTypeDefaultDescription
-l, --longboolfalseLong format: show path, size, and mode
--insecureboolfalseAllow connections without TLS
-v, --verboseboolfalseEnable debug logging

Output​

Short Format (default)​

One file path per line:

app.yaml
config/database.yaml
config/server.yaml

Long Format (-l)​

Three columns: path, size (bytes), mode (octal):

app.yaml              52      0644
config/database.yaml 128 0644
config/server.yaml 96 0644

Exit Codes​

CodeDescription
0Success
1Error (not found, auth failed, invalid archive)

Examples​

List files:

blobber ls ghcr.io/myorg/config:v1

List with details:

blobber ls -l ghcr.io/myorg/config:v1

Using the list alias (backwards compatibility):

blobber list ghcr.io/myorg/config:v1

Notes​

  • Directories are not listed, only files
  • Paths are relative to the image root
  • Order is determined by the archive structure

See Also​