What is an OCI image?

An OCI image is a container image that follows the Open Container Initiative image specification. The specification defines an image as a manifest, filesystem layers and a configuration. Tools that follow it can build, move and prepare the image to run.

Updated

Who maintains it

The Open Container Initiative launched on June 22, 2015. It is a project of the Linux Foundation. Docker contributed its V2 image format as the basis of the specification.

What the specification defines

An image has a manifest, an optional index, filesystem layers and a configuration. The manifest lists the layers by content-addressed identifiers. The configuration holds settings such as arguments and environment variables.

How layers become a file system

Each layer is a changeset against the layers below it. The layers apply in order, and the result is the complete root file system. A layer can remove a file from a lower layer. The spec marks the removal with a whiteout entry.

How a microVM uses an image

A microVM platform applies the layers in order. It writes the result into a disk image, such as an ext4 file system. The microVM boots from that disk image as its root file system. A container starts from the same kind of layers, but it shares the kernel of the host.

What to check on a provider

Check which image formats the provider accepts, such as a Dockerfile, a registry link or a prebuilt image. A sandbox template starts from one of these.

Related terms

All glossary terms

Related