You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I've missed something, we can currently only copy the image in the manifest list that matches the current system platform, or we can copy them all. For some images, there are many other images for other platforms that I have no need for (e.g. https://hub.docker.com/_/redis/tags supports seven platforms).
Is there a way to filter the images so that I only copy amd64 and arm64 images? And if so, will the manifest list reflect just those images, or will the manifest list be copied as-is?
The text was updated successfully, but these errors were encountered:
Right now, there is copy.CopySpecificImages, but that requires the caller to manually determine which images to copy.
And overall, the ImageListSelection affects which per-platform instances are copied, but the whole manifest list is used, possibly referring to missing per-platform instances. Some registries reject that.
It would make sense to provide both of those features
to let the caller provide some kind of platform filter, without having to individually worry about instances manually. We need to worry about all three fields determining the platform: OS/architecture/variant, and possibly more fields that will be added.
to allow modifying the manifest to refer only to the copied per-platform instances, instead of writing a sparse manifest. That would require building rather more of the manifest editing infrastructure (or moving Podman’s implementation).
Unless I've missed something, we can currently only copy the image in the manifest list that matches the current system platform, or we can copy them all. For some images, there are many other images for other platforms that I have no need for (e.g. https://hub.docker.com/_/redis/tags supports seven platforms).
Is there a way to filter the images so that I only copy amd64 and arm64 images? And if so, will the manifest list reflect just those images, or will the manifest list be copied as-is?
The text was updated successfully, but these errors were encountered: