Skip to content

Fallback platforms feature #7080

Description

@dnmvisser

Description

Many container images I uses are available for multiple platforms, most notably linux/amd64 and linux/arm64. On a current macbook any docker image pull will pull the linux/arm64 image - if that exists.

If that does not exist, pulling will fail with an error like:

no matching manifest for linux/arm64/v8 in the manifest list entries

I have enabled Rosetta on the macbook, will allows me to run linux/amd64 images. In almost all cases running a non-native linux/amd64 image is preferable over not being able to run the image at all.

So, if a normal image pull fails because there is not linux/arm64 image, then I will always have to manually add --platform linux/amd64 to the command.

It would be great if there was a optional/configurable list of fallback platforms that would be tried if the native platform isn't available.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions