An OCI artifact is a package format that follows the Open Container Initiative (OCI) standard. It allows us to:
- Store and distribute software and related files using container registries (like Quay)
- Maintain compatibility across different tools and platforms
- Package various types of content beyond just containers (such as our plugins)
Think of it like a standardized box that can hold different types of items, making them easier to ship and use across different systems.
- Pull the image (if not already local)
docker pull <registery><repository>:<tag>
- Save the image as a Tar file
docker save -o image.tar <register>/<repository>:tag
- Extract the Tar file
mkdir extracted && tar -xf image.tar -C extracted
- View the Manifest file
cat extracted/manifest.json | jq .