Skip to content

Platform argument required for docker runΒ #3810

@jack-handley

Description

@jack-handley

On a new MacBook with the M1 chip, I get an error when trying to start a container:

no suitable image found.  Did find:
	/some/random/tmp/file: no matching architecture in universal wrapper

I get a similar error running the container manually with docker run <image-name>, but it will work if I use docker run --platform linux/amd64 <image-name>. Is it possible to use that parameter with testcontainters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions