I built a small tool called oci2git, which converts OCI container images into Git repositories. Each layer in the container image becomes a separate Git commit.
I created it to make it easier to inspect and reason about container image contents. Instead of dealing with compressed tarballs or running docker diff, you can just browse the resulting Git repo, run git diff, use git blame, or even bisect layers. It's a new way to debug, audit, and understand how container layers evolve.
It's written in Rust and currently supports images from local OCI layouts and remote registries (like Docker Hub). It’s pretty fast and doesn’t require a container runtime or unpacking images to the filesystem.
Would love feedback, ideas, or contributions. Thanks!