ORAS: OCI Registry As Storage

Shriira Press

Preface

How a container registry quietly became universal storage for every software artifact — and the small tool that made it possible.

Welcome to ORAS: OCI Registry As Storage.

For years the container registry was a single-purpose machine: it held images, and only images. ORAS rethinks that assumption. The same registries that already sit at the heart of every cloud-native deployment — Docker Hub, GitHub Container Registry, Azure Container Registry, Harbor — turn out to be perfectly capable of storing any content you can break into bytes: Helm charts, WebAssembly modules, machine-learning models, configuration bundles, signatures, and software bills of materials. ORAS is the command-line tool and family of SDKs that unlocks this, treating media types as a first-class concept and using the OCI distribution and image specifications as a generic, content-addressable storage protocol. This book starts with the problem ORAS solves and the OCI specifications it stands on, then works through manifests and media types, the push and pull workflow, the referrers API that links signatures and SBOMs to the images they describe, OCI image layouts on the local filesystem, copying artifacts between registries, and finally the oras-go and oras-py SDKs that let you build registry-native applications of your own.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — Registries Beyond Container Images
  2. Chapter 2 — Manifests, Media Types, and Artifacts
  3. Chapter 3 — Pushing and Pulling with the CLI
  4. Chapter 4 — Referrers: Attachments, Signatures, and SBOMs
  5. Chapter 5 — OCI Layouts and Copying Artifacts
  6. Chapter 6 — Building with the SDKs
  7. Chapter 7 — ORAS in Practice
0%
1/1