Open tanguofu opened 2 years ago
Thank you for reaching out, @tanguofu.
Can you describe on a high level what you are trying to do? Do you want to use skopeo copy
or do you want to inspect the images names via skopeo inspect
?
If I understand the request correctly, see #1381 ’s Reader
(and compare docker/archive
). Introducing a similar API for oci/layout
(with much less state to maintain) would make sense to me.
Some variant of this will probably happen in #2567 .
when
skeopeo
copy many images into one oci repo, how can i get the images name?for example the
index.json
:there only a API
https://github.com/containers/image/blob/main/oci/layout/oci_transport.go#L219
so is it acceptable to add a API get
[] imgspecv1.Descriptor
of all the name within oci repo ? , such as:and i would very like tocontribute with a PR.
many thanks.