OCI library for Zig
- Zig 97.6%
- Nix 2.4%
| .github/workflows | ||
| lib | ||
| .envrc | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| treefmt.nix | ||
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.