Expand description
Image reading and manifest parsing.
This module provides access to OCI image manifests and metadata stored in
the overlay-images/ directory. All operations use fd-relative access via
cap-std Dir handles.
§Overview
The Image struct represents a container image stored in the overlay driver.
It provides access to:
- OCI image manifests (
oci_spec::image::ImageManifest) - OCI image configurations (
oci_spec::image::ImageConfiguration) - Layer information (diff_ids that map to storage layer IDs)
- Additional metadata stored in base64-encoded files
§Image Directory Structure
Each image is stored in overlay-images/<image-id>/:
overlay-images/<image-id>/
+-- manifest # OCI image manifest (JSON)
+-- =<base64-key> # Additional metadata filesStructs§
- Image
- Represents an OCI image with its metadata and manifest.