-
Notifications
You must be signed in to change notification settings - Fork 548
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 copy does not work with non-distributable layers #741
Comments
This is upsetting. I can't believe how poorly the non-distributable layers stuff was implemented :/ Specifying platform seems like a good thing to add. I'd also be fine adding a |
Since #742 is merged we now have a solution for this problem. |
Let's close it for now -- if someone wants to add |
Since docker distribution version 2.7 validation is enabled by default. As far as I understand this makes it impossible to copy images with non-distributable layers, since these layers are not uploaded (
go-containerregistry/pkg/v1/remote/write.go
Line 76 in 72597da
Steps to reproduce:
I think this is mainly a problem for windows images which I don't need either way. So for me a solution for this problem would be if one could only copy images from a certain platform. For example skopeo supports this. By default skopeo only copies the image which matches the current platform. Another benefit of specifying the platform is that copy runs faster since images which are not needed are not copied.
The text was updated successfully, but these errors were encountered: