OCI Artifact Stores & ORAS CLI
Expert · 45 minutes · 100 points
Dive deep into the OCI (Open Container Initiative) artifact ecosystem using the ORAS (OCI Registry As Storage) CLI. In this expert-level lab you will install ORAS, spin up a local OCI-compliant registry, push and pull non-container OCI artifacts (configs, files, multi-layer artifacts), attach OCI referrers (signatures, SBOMs), and inspect the raw OCI manifest descriptors — all from scratch inside a privileged Docker-in-Docker environment.
What you’ll learn
- Install the ORAS CLI and verify its version inside a Docker-in-Docker environment
- Launch a local OCI-compliant registry container and push raw file artifacts using ORAS
- Attach OCI referrer metadata (e.g., a simulated SBOM) to a pushed artifact and inspect the referrers index
- Pull artifacts by digest and validate the reconstructed OCI manifest using jq
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: docker:dind
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: oras, oci, artifacts, registry, sbom, referrers, docker, dind, manifest, supply-chain
Create a free account to start this lab.