MiniBox stores images in an OCI-like blob store underDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/chaitu426/minibox/llms.txt
Use this file to discover all available pages before exploring further.
MINIBOX_DATA_ROOT (default /var/lib/minibox). Each image is referenced by name in index.json and its content lives as content-addressed blobs under blobs/sha256/. This page covers every image management command and the underlying storage layout.
Listing Images
index.json, including name, manifest digest (short-form), and on-disk size.
Removing an Image
index.json. Orphaned blobs (manifests, configs, and layers no longer referenced by any image) are not deleted immediately — run minibox system prune to reclaim their disk space.
rmi and system prune are separate operations by design. You can remove an image reference and still recover it from its blobs until you prune.Saving an Image to a Tar Archive
meta.json contains just enough metadata for minibox load to reconstruct the index.json entry:
Example: export and copy to another host
Loading an Image from a Tar Archive
DataRoot/blobs/sha256/, reads meta.json, and upserts the image reference into index.json. If the image name already exists in the index it is updated to point to the loaded manifest digest.
OCI Storage Layout
All image data lives underMINIBOX_DATA_ROOT. The layout mirrors the OCI Image Layout Specification with a few MiniBox-specific additions.
System Prune
system prune performs garbage collection across the entire data root. It removes:
- Orphaned blobs — blobs in
blobs/sha256/not referenced by any manifest inindex.json. - Dangling FUSE mounts — stale lazy-layer mount points in
lazy/and their associatedcache/entries. - Dangling extracted layers — orphaned directories in
extracted/. - Incomplete tmp layers — the entire
tmp/directory left by interrupted builds.
Clearing the Build Cache
The DAG build cache (layers/) is separate from the OCI blob store. Removing an image with rmi does not clear the build cache. To force a full rebuild of all MiniBox images:
DataRoot/layers/ and reports the additional space reclaimed:
After
--build-cache, the next minibox build for any image will re-execute all DAG blocks from scratch. Subsequent builds will repopulate the cache normally.