Skip to content
BENIBIX Learn

Open Container Initiative (OCI)

Infrastructure📦 ContainersImages and Registries

Also known as OCI Specification, OCI Runtime Spec, OCI Image Spec, OCI Standard

The group that writes the shared rules all image tools follow.

Think of it like

Think of it like the rule for plug shapes. Any plug that follows it fits any socket.

Example

Lucy builds an image with Podman and pushes it to a registry. Her team runs it with Docker and with Kubernetes, and it works the same in each.

Why it matters

The standards stop any one company from owning containers. You can change tools and keep your images.

Definition

The Open Container Initiative is a group that writes open standards for containers. It was set up in June 2015 under the Linux Foundation. It keeps three specs. They cover how an image is packed, how a container is run, and how images are shared. Because tools follow these specs, an image built with one tool runs with another.
This stack is packed and named by the OCI image rules. So any tool can read it.

Common mistake

Thinking an image only runs on the tool that built it. Images follow the OCI spec, so any tool that follows it can run them.

Key takeaways

  1. 1
    Open standards. Run under the Linux Foundation since 2015.
  2. 2
    Three specs. Image, runtime and how images are shared.
  3. 3
    Swap tools. One image, many runtimes.