Skip to content
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

Multi-platform image code is broken #3516

Open
apostasie opened this issue Oct 8, 2024 · 2 comments
Open

Multi-platform image code is broken #3516

apostasie opened this issue Oct 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@apostasie
Copy link
Contributor

apostasie commented Oct 8, 2024

Description

I was banging my head on the desk chasing #3513 and friends - but eventually, trying something simple on a fresh install:

# Use whatever platform is not your native platform
nerdctl pull --platform linux/amd64  debian
nerdctl tag debian foo
nerdctl push foo

This fails on 1.7.6 (and main, obviously)

FATA[0000] failed to create a tmp single-platform image "docker.io/library/foo:latest-tmp-reduced-platform": content digest sha256:4466c6813e1d9a85fbac707afe419e13ce9a823f7041316bab860d8c0a50f91d: not found

This seems to be pervasive across the codebase (and certainly part of the problem we have been chasing with the many incarnations of content digest not found).

I am wondering if the multi-platform image concept/code overall is considered experimental at this point - or if there are known gotchas?

Steps to reproduce the issue

na

Describe the results you received and expected

na

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Oct 8, 2024
@AkihiroSuda AkihiroSuda added bug Something isn't working and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Oct 8, 2024
@apostasie
Copy link
Contributor Author

Actually, in light of #3512 - looks like most image operations are just broken (including just images --filter) when manipulating multi-platform images.

:(

@apostasie
Copy link
Contributor Author

@AkihiroSuda is there a document somewhere that lays-out the UX for images command when an image is not the native arch? or when it is a multi-platform image?

@apostasie apostasie changed the title Is multi-platform image code broken/experimental? Multi-platform image code is broken Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants