Introduction
The Open Container Initiative image specification defines a directory layout for container images, which may be carried in archive formats such as tar.
Structure
The layout holds an oci-layout file (a JSON object with
imageLayoutVersion), an index.json image index as the entry
point, and a blobs directory of files named by their digest, such as
blobs/sha256/….
Not described
Known, not yet covered
- Reference: this page is a summary; the index, manifest, configuration and layer formats are not yet described on this site.
- Viewer: the site has no viewer made for container images.
Also used for
- GNU tar archive – GNU tar’s own header: times and sparse maps where ustar has the prefix, and long-name entries.
- POSIX ustar and pax archive – The POSIX header with “ustar” magic, owner names and a 155-byte prefix; pax adds records.
- Schily tar archive (star) – star’s header: a 131-byte prefix, with access and change times in the bytes after it.
- Tar archive – Three formats share the 512-byte tar header: POSIX ustar and pax, GNU tar and star.
Links
Reference
- OCI Image Layout Specification – the layout