Closed ariel-miculas closed 1 month ago
Nice and simple, I only have minor nits.
PR title/commit message I think should be updated - this isn't about symlinks anymore.
Something like:
Add support for external blobs
?
Oh, I see, it's because you can pass whatever blobs directory you want, it doesn't have to go through a symlink. Took me a while to understand.
@cgwalters any objections to the latest changes? If not, I'll go ahead and merge this.
This feature is especially useful when we want to share blobs across OCI repositories. See the
--dest-shared-blob-dir
option in skopeo [1] as well as the LXC OCI template [2] (specifically OCI_USE_CACHE).closes #21
[1] https://github.com/containers/skopeo/blob/main/docs/skopeo-copy.1.md [2] https://github.com/lxc/lxc/blob/main/templates/lxc-oci.in