Skip to content

M1 catch 22 with export DOCKER_DEFAULT_PLATFORM=linux/amd64 #2

@KastanDay

Description

@KastanDay

Generally, I prefer to use export DOCKER_DEFAULT_PLATFORM=linux/amd64, meaning the default is standard x64. However, for some reason traefik is refusing to work under these conditions where all other images are fine.

Error response from daemon: image with reference traefik:1.7 was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8

However, it seems like things work best when I don't specify a default platform at all. I suggest we explicitly remove that env variable (with a warning) before every run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions