| Crates.io | peeko-cli |
| lib.rs | peeko-cli |
| version | 0.1.0 |
| created_at | 2025-10-31 16:07:37.279286+00 |
| updated_at | 2025-10-31 16:07:37.279286+00 |
| description | A command-line interface for exploring container images without launching a container runtime. |
| homepage | https://github.com/cloverzero/peeko |
| repository | https://github.com/cloverzero/peeko |
| max_upload_size | |
| id | 1910264 |
| size | 92,673 |
Peeko CLI is a command-line companion to the Peeko library. It lets you pull OCI container images, inspect their filesystem without running them, and manage your local cache of previously downloaded layers.
From a cloned workspace:
cargo install --path peeko-cli
# or build locally:
cargo build --release -p peeko-cli
If peeko-cli is published to crates.io you can also run:
cargo install peeko-cli
Peeko CLI stores data under ~/.peeko by default. You can override the defaults with environment variables:
PEEKO_DIR – base directory for downloaded imagesCONCURRENT_DOWNLOADS – number of parallel layer downloads (defaults to 4)peeko <COMMAND> [OPTIONS]
Run peeko -h or peeko <COMMAND> -h for full clap-generated help.
peeko # starts the interactive menu
peeko interactive
The interactive menu guides you through pulling images, listing cached images, browsing a filesystem tree, and (soon) cleaning up downloads.
peeko pull library/node:18-alpine
peeko pull ghcr.io/owner/app:latest
PEEKO_DIRlibrary/ is prefixed automatically):tagpeeko list
Shows a table of cached images and their on-disk size, e.g.:
Downloaded Images
Image Tag Size
library/alpine latest 5.3 MB
Found 1 downloaded image(s)
peeko tree library/alpine:latest
peeko tree library/node:18-alpine --depth 5
peeko tree nginx:latest --path /usr/share/nginx/html --depth 2
--depth controls recursion (default 3)--path lets you explore a subtreepeeko ls library/alpine:latest --path /
peeko ls library/node:18-alpine --path /usr/bin
Type, Size, File)--pathpeeko cat library/alpine:latest --path /etc/os-release
/ is optional)peeko remove library/alpine:latest
Deletes the cached image directory inside PEEKO_DIR. This does not interact with the remote registry.
tree, ls, or cat; they operate on the local cache.CONCURRENT_DOWNLOADS to improve throughput.peeko cat into grep) to inspect files quickly.