Add note on architecture differences when building containers: ARM v x86 #175
Labels
peer review:editorial comment
Editorial comments to be addressed from the peer review
type:clarification
Suggest change for make lesson clearer
As the number of attendees using newer Mac models with ARM-based processors increases, the problem of containers built on Macs being incompatible with other (x86-based) systems (and vice-versa) is going to become more prevalent.
We should add a note/callout to the building containers episode that briefly describes the issue, illustrates the
--platform
option todocker image build
and describes good practice in make both x86 and ARM versions of container images available. (I know you can create multi-architecture containers but I think that, unless the image is tiny, these will be too large and unwieldy for general use.)I am happy to put in a PR for this.
The text was updated successfully, but these errors were encountered: