Skip to content

platform error while create image in mac and running on ECS. #3

@shivajichaprana

Description

@shivajichaprana

while running on mac, getting error because the image is created in "arm64" format.

Solution : run the following command to specify the image platform, then your image will be created in "amd64" :-
docker buildx build --platform linux/amd64 -f ./Dockerfile -t name-of-your-image .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions