aws-fargate-ecs-masterclass icon indicating copy to clipboard operation
aws-fargate-ecs-masterclass copied to clipboard

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

Open shivajichaprana opened this issue 2 years ago • 0 comments
trafficstars

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 .

shivajichaprana avatar Aug 19 '23 07:08 shivajichaprana