-
Notifications
You must be signed in to change notification settings - Fork 832
feature: Support list of archs for sync
command
#1694
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
Comments
Thanks for your report. Yeah, that’s not currently possible and it’s a reasonable RFE.
(Note that any such architecture subset option faces the trade-off between dropping the other architectures from the multi-arch manifest list, breaking digest references, and using the original manifest list without copying some architectures, with dangling references, which is rejected by some registries.) |
A friendly reminder that this issue had no activity for 30 days. |
I'll be interested in the same feature 🙏 ❤️ |
A friendly reminder that this issue had no activity for 30 days. |
We also would like this feature for the same reason as @cwseger. Syncing all architectures will be simply too much for us. I might be able to create a PR for this if it's not too involved, but I would need some guidence.
Do you have a suggestion on how the option(s) should look like for copy as well as for sync?
What would be the effect of the first option? It looks like the cleaner option but I guess I don't understand the consequences. Any hints on where code changes should probably applied are welcome of course. |
Some syntax that clearly won’t conflict with other current/future values, and perhaps allows future evolution. Maybe Plus, possibly, an option to differentiate between the sparse copies / manifest-editing copies discussed below, if you need the manifest-editing variant.
Given an original image with digest
The actual implementation in https://github.com/containers/image/ , as some new field as an alternative to Within Skopeo, that would be just a CLI option parser that fills the |
Thanks for the response. I tested copy with index-only against ECR but unfortunately this doesn't seem to be supported, it complains about the images being unkown. So I guess the first option seems to be the only option for us then. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
/fresh 🙏 |
If an issue becomes old and not being worked on, it basically means that some from the community needs to step up and try to implement it. The core developers either do not have the time or deem other features more important to implement. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
/fresh |
A friendly reminder that this issue had no activity for 30 days. |
History:
skopeo sync
to specifically copy linux/amd64 images.skopeo sync --override-os linux --override-arch amd64 ...
Issue:
Current Solution:
--override-arch
option so I am copying over all the archs for the image.skopeo sync --override-os linux --all ...
Proposed Solution:
--override-arch
option or an entirely new option.skopeo sync --override-os linux --override-arch amd64 arm64 ...
skopeo sync --override-os linux --archs amd64 arm64 ...
Notes:
skopeo
!The text was updated successfully, but these errors were encountered: