6/13/2023 0 Comments Docker on mac arch typeHowever, developers did encounter issues when using Docker which, while adding a layer of abstraction to "build and ship everywhere" applications, still needs to talk to the CPU with the correct instruction set. ![]() They designed powerful laptops with great autonomy, and with a lot of investment into automatic transcription from amd64 apps to arm64 with Rosetta, the transition to this new architecture was transparent for most users. ![]() However a true achievement of ARM CPU is reduced power consumption, and that is one of the reasons Apple's M1 laptops use such chips. While the idea of truly decentralized/distributed computing sounds great, I'm not convinced that adding billions more servers in the world is sustainable, and the current * crypto* environmental impact is confirming it. There were (and still are) some companies that were also trying to push for a distributed edge cloud computing universe, with small ARM servers hidden everywhere. Two years ago, running light Kubernetes distribution such as k3s on ARM processors was the concern of " Raspberry Pie cluster" enthusiasts like me or Jeff Gerling. Why is supporting multiple CPU architectures more important than ever? ![]() You'll have no excuse to not support Apple M1 laptops or Raspberry Pis in your open source GitHub project! In this article, I'll demonstrate how to build and distribute multi-architecture docker images, while teaching a few things about container images distribution. While it may have been a rough ride for the first few months, supporting several CPU architectures for a docker build is now easier than ever! To make it short: all Docker images previously built on Intel or AMD CPU were not working on these new laptops running on ARM CPU, which is quite a big deal. However, with the new Apple's M1 Laptop, running on ARM CPU, a whole new generation of developers discovered that Docker ( or I should say OCI) images are not working everywhere, or at least are built for specific CPU and OS. ![]() Almost 2 years ago I wrote an article about building multi-architecture Docker Container Images, which was an emerging topic but still a niche consideration (who does consider building its own Raspberry Pi Cluster ?).
0 Comments
Leave a Reply. |