OCI library for Zig
  • Zig 97.6%
  • Nix 2.4%
Find a file
2026-10-31 19:52:09 -07:00
.github/workflows feat: init 2026-10-31 19:52:09 -07:00
lib feat: init 2026-10-31 19:52:09 -07:00
.envrc feat: init 2026-10-31 19:52:09 -07:00
.gitignore Initial commit 2026-11-01 02:37:05 +00:00
build.zig feat: init 2026-10-31 19:52:09 -07:00
build.zig.zon feat: init 2026-10-31 19:52:09 -07:00
flake.lock feat: init 2026-10-31 19:52:09 -07:00
flake.nix feat: init 2026-10-31 19:52:09 -07:00
LICENSE Initial commit 2026-11-01 02:37:05 +00:00
README.md feat: init 2026-10-31 19:52:09 -07:00
treefmt.nix feat: init 2026-10-31 19:52:09 -07:00

oci.zig

Read OCI container images from Zig without running workloads inside a container. The library detects Podman or Docker, inspects and optionally pulls an image, extracts its root filesystem into a concurrency-safe cache, and returns the image environment, working directory, and mount set.

Add the package as a dependency and import its oci module. The public entry points are Runtime, Image, reference, and proc.