MiniBox stores images in an OCI-compatible blob layout 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.
DataRoot (default /var/lib/minibox). These four commands let you inspect, remove, export, and import images managed by the daemon.
images
List all images registered in the daemon’s local index.Output the image list as a JSON array instead of the default formatted table.
minibox build -t) and its total size in bytes — computed by summing the manifest blob, config blob, and all layer blobs from blobs/sha256/.
Only images that have the
org.opencontainers.image.ref.name annotation set in index.json are listed. Intermediate or orphaned blobs not referenced by a named manifest are invisible to images and can be cleaned up with system prune.rmi
Remove an image from the local index by its repository name.The image name exactly as registered at build time (e.g.
myapp, webserver).rmi removes the image’s entry from index.json. It does not immediately delete the underlying blobs from blobs/sha256/ — those are cleaned up lazily by system prune. This means rmi is safe to run even if another image shares blobs with the removed one.
save
Export a local image to a tar archive on the host filesystem.Name of the image to export (must exist in the local index).
Destination path for the tar archive. The file is created or overwritten.
Archive format
The tar produced bysave is not Docker-compatible. It is a minibox-specific archive containing:
| File | Description |
|---|---|
meta.json | JSON object with image (name) and manifest_digest fields |
blobs/sha256/<digest> | The image manifest blob |
blobs/sha256/<digest> | The image config blob |
blobs/sha256/<digest> | Each layer blob (gzip-compressed tar) |
load
Import an image tar archive created byminibox save.
Path to the tar archive previously created by
minibox save.load unpacks the tar archive under DataRoot, reads meta.json to determine the image name and manifest digest, and upserts the image reference into index.json. After a successful load, the image is immediately available for minibox run.
Round-trip example
The
load command merges blobs by content-addressed digest, so loading the same image twice is safe and idempotent.