-
Notifications
You must be signed in to change notification settings - Fork 798
Description
EDIT: update: POC available: #577 (comment) (May 4, 2017)
I'd like to propose an alternative image layer format that is content-addressable in the granularity of file, rather than in the granularity of tar.
(Of course not proposing for image-spec v1.0.0 :-), just a baby step toward the future spec)
This is a continuation of the previous discussion about lazy-pulling.
Now I refined my proposal focusing on CAS in the granularity of file, rather than just sticking to lazy-pulling.
CAS in the granularity of file also has a benefit of higher concurrency in pulling images.
For distribution, even though I prefer IPFS, I intentionally kept my idea agnostic to a certain distribution method (which is out of scope of OCI mission currently).
Proposal
TLDR: Just use @stevvooe 's continuity instead of tar.
Regular files would be stored as OCI blobs and accessed via the digest value recorded in the continuity manifest.
For the whole idea, please refer to
https://github.com/AkihiroSuda/filegrain/tree/v20170217