Skip to main content
Version: 1.0.0

blobber list

List files in an OCI image without downloading.

Synopsis

blobber list <reference> [flags]
blobber ls <reference> [flags]

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 list ghcr.io/myorg/config:v1

List with details:

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

Using the ls alias:

blobber ls 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