Skip to content

Problems with "platform" #25

@Bronson-Brown-deVost

Description

@Bronson-Brown-deVost

I have several images that are only built for the linux/amd64 platform. With "container run" I can use these with the "--arch amd64" command line argument. With "container-compose" I am unsure how to use that option, my compose files keep failing with Error: unsupported: "platform linux/arm64", which is the error I get with "container run" if I do not have the "--arch amd64" command line argument.

I believe docker compose v2.4 had a "platform" option, but I think this has been removed with v3. Is there any way to use "--arch amd64" with container-compose?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions