Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shivajichaprana opened this issue Aug 19, 2023 · 0 comments
Open

Comments

@shivajichaprana
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant