- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
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