Skip to content

Multi-platform image code is broken #3516

@apostasie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions