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
{{ message }}
Repository navigation
[Request]: Image save command: platform default to current #712
changed the title [-][Request]: Image save platform default to current[/-][+][Request]: `Image save` command: platform default to current[/+]on Oct 3, 2025
@0Itsuki0 and @bismansahni If this issue has not yet been resolved, we would love to work on it. We are students at UT Austin working on issues for our virtualization class. Thank you!
Hi @karenheckel it looks like @bismansahni has an open PR to make this fix, so I will work with them to close this.
@0Itsuki0 Can you confirm that the remote image was pulled with the --platform, os, and/or arch options in image pull? I'm guessing what is happening is the remote image is multi platform but only a subset of the platforms have been pulled. When we go to save the image, we try to save all the platforms and fail since those layers are not pulled.
See comment here for what the digest being used is.
Save all platforms in the manifest that are present (right now we fail I think because the manifest is for all the platforms the actual content is sparse)
Will option 1 break if say, pull linux/amd64 and then try to image save without a matching platform?
We should also look into whether we can improve the error message for this; the current one is very developer-centric. To keep this PR focused I've created #874 for that work and we can do that in a follow-on.
@jglogan Hi, yes, my group is currently working on issues #641, #383, and the other tasks in #507 that haven't been done yet. We'll let you know if we have any questions!
Activity
[-][Request]: Image save platform default to current[/-][+][Request]: `Image save` command: platform default to current[/+]Fix image save to default to current platform when no platform specified
karenheckel commentedon Nov 6, 2025
@0Itsuki0 and @bismansahni If this issue has not yet been resolved, we would love to work on it. We are students at UT Austin working on issues for our virtualization class. Thank you!
katiewasnothere commentedon Nov 9, 2025
Hi @karenheckel it looks like @bismansahni has an open PR to make this fix, so I will work with them to close this.
@0Itsuki0 Can you confirm that the remote image was pulled with the
--platform,os, and/orarchoptions inimage pull? I'm guessing what is happening is the remote image is multi platform but only a subset of the platforms have been pulled. When we go to save the image, we try to save all the platforms and fail since those layers are not pulled.See comment here for what the digest being used is.
jglogan commentedon Nov 13, 2025
Trivial repro:
@bismansahni @adityaramani – It seems we have a couple options here:
Will option 1 break if say, pull linux/amd64 and then try to
image savewithout a matching platform?We should also look into whether we can improve the error message for this; the current one is very developer-centric. To keep this PR focused I've created #874 for that work and we can do that in a follow-on.
jglogan commentedon Nov 13, 2025
@karenheckel are there any other issues that you're looking at? Let us know if you have questions about any!
karenheckel commentedon Nov 13, 2025
@jglogan Hi, yes, my group is currently working on issues #641, #383, and the other tasks in #507 that haven't been done yet. We'll let you know if we have any questions!