-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crane: how to copy a sub-set of a image platforms? #1143
Comments
This is an interesting idea. Do you want to copy both images separately to the destination? Or do you want to take the existing manifest list, filter out all the platforms you don't care about, and push a new manifest list with just those two platforms? We might want to revive #891 and add this to the list of things we'd like to support. I could see this being a |
The second one :-) |
X-ref: containers/skopeo#1511 |
This issue is stale because it has been open for 90 days with no |
I would love to have this feature as well. |
How can we copy the images of a manifest list that match a given platform list?
Using
crane --all
we can copy all the images from a manifest list.Using
crane --platform
we can can copy a single image that matches the given singular platform, but how about a sub-set? Something likecrane --platform linux/amd64,linux/arm64
?This would be useful for copying a sub-set of the
debian:bullseye-slim
images (e.g. just thelinux/amd64
andlinux/arm64
platform images).The text was updated successfully, but these errors were encountered: