Home » Science & Technology » How to Build Multi-Architecture Docker Images with BuildX | Deploy containers to x86 and ARM!

How to Build Multi-Architecture Docker Images with BuildX | Deploy containers to x86 and ARM!

Written By DevOps Directive on Tuesday, Feb 02, 2021 | 04:47 PM

 
As ARM-based processors become more common, it is increasingly important to be able to build multi-architecture docker images to support x86 and ARM development systems and deployment targets. In this video, I walk through how docker supports multi-architecture images and demonstrate how to use the buidx command to build a sample application and deploy onto x86 and ARM AWS servers. --- Join the Community: 💬 Discord: https://discord.gg/3XzWctZ 💻 GitHub: https://github.com/sidpalas/devops-directive 🐥 Twitter: https://twitter.com/sidpalas 👨‍💼 LinkedIn: https://www.linkedin.com/in/sid-palas/ 🌐 Website: https://devopsdirective.com --- Timestamps: 00:00 - Introduction 00:18 - Processor architecture overview 00:42 - The rise of ARM 01:26 - Who cares? 02:03 - Multi-architecture docker manifests 02:56 - Combining individual manifests (the old method) 03:35 - BuildX 03:54 - Build farm 04:06 - Using QEMU to emulate multiple architectures 04:38 - Demo setup 04:50 - Demo source code 05:40 - Buildx setup 06:46 - Dockerhub repo setup 06:59 - Building the images! 07:47 - Running the container 08:36 - Deploying to AWS (m5 & a1) 09:17 - Potential gotchas 10:05 - Final thoughts --- Community size at time of posting: - Subscribers: 8561 - Channel Views: 196290