- Newest
- Most votes
- Most comments
Have you seen this? https://aws.amazon.com/blogs/containers/introducing-multi-architecture-container-images-for-amazon-ecr/ . Does it help?
Yh. I have seen that. It didn't help for my particular case. I am able to push a multi-arch image to ecr with buildx no problem. The issue arises when i try to build using a docker-compose file. If you look at the question properly, you'll understand.
We have good blog covering multi-arch images with ECR. Have you checked that? https://aws.amazon.com/blogs/containers/introducing-multi-architecture-container-images-for-amazon-ecr/ As for free tier, ARM instances also have free tier, for example t4g
Yes i have. Doesn't solve my particular use case. Or at least i can't find a solution from that
I do multi-arch builds regularly, although not locally in that way (even though I do have arm and x86 machines). I use AWS CodeBuild which is insanely cheap for that.
See this blog post for logical explanations and these repositories for practical examples
Relevant content
- asked a year ago
- asked a year ago
- asked 2 years ago
- asked 6 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Have you tried docker buildx bake -f <dockerComposeFile> ... ? https://docs.docker.com/engine/reference/commandline/buildx_bake/ It even allows you to set the target platform within you compose file with a special x-bake tag