Skip to content

Why it matters

OCI makes container images portable: an image built by one tool runs on any compliant runtime, and an image pushed to one registry pulls from any compliant client.

Before the OCI, container formats were vendor-specific. Docker had its own image format and runtime. CoreOS had rkt. Other platforms had their own. A container built with one tool was not guaranteed to run with another, and a registry built by one vendor was not guaranteed to serve another vendor's client. The ecosystem was fragmented, and portability was an accident of marketing arrangements rather than a property of the technology.

The OCI changed this by writing down the specifications and certifying implementations against them. The result is that an image built with BuildKit on a Mac can be pulled by containerd on a Linux server, stored in Harbor, scanned by Trivy, mirrored to ECR, and run by Podman. Each of those steps is OCI-compliant, so none of them has to care which tool built the image, as long as the image conforms. That property — interoperation without coordination — is what makes the container ecosystem composable.