Skip to content

Multi-platform image code is broken #3516

Closed

Description

@apostasie

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

Activity

  1. added
    bug
    and removed
    kind/unconfirmed-bug-claim
    on Oct 8, 2024
  2. apostasie commented on Oct 12, 2024

    @apostasie
    ContributorAuthor

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

    :(

  3. apostasie commented on Oct 12, 2024

    @apostasie
    ContributorAuthor

    @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?

  4. changed the title [-]Is multi-platform image code broken/experimental?[/-] [+]Multi-platform image code is broken[/+] on Oct 12, 2024
  5. apostasie commented on Apr 18, 2025

    @apostasie
    ContributorAuthor

    The specific repro from this ticket has been fixed by the recent series of content digest not found PRs.

    There are still issues with multi-platform code, but we should close this and possibly open new ones with appropriate repros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions