Skip to content

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

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 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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