Overview of SOCI Snapshotter
mainSOCI (Seekable OCI) Snapshotter is a containerd snapshotter plugin designed to enable lazy loading of standard OCI images.
Instead of downloading the entire container image before launching a container, SOCI allows the container to start immediately by loading data on demand and prefetching data in the background. This significantly reduces container startup times by avoiding the download of unnecessary image data (which can account for up to 76% of startup time in some scenarios).
Key features include:
- No image conversion (v1): SOCI can load from original, unmodified OCI images by building a separate "SOCI index" artifact that lives in the remote registry alongside the image. This avoids modifying CI/CD pipelines and preserves image signatures.
- Lazy Loading: Data is fetched from the registry only when the application actually accesses it.
- Background Prefetching: Reduces latency by fetching data in the background.