Konubinix' opinionated web of thoughts

Leverage Multi-CPU Architecture Support | Docker Documentation

Fleeting

Leverage multi-CPU architecture support | Docker Documentation [2021-01-22 Fri 20:21]

Docker is now making it easier than ever to develop containers on, and for Arm servers and devices

[2021-01-22 Fri 20:21]

. You can use the buildx command on Docker Desktop for Mac and Windows to build multi-arch images, link them together with a manifest file, and push them all to a registry using a single command.

[2021-01-22 Fri 23:06]

Inspect the image using imagetools

[2021-01-22 Fri 23:16]

You can run the images using the SHA tag, and verify the architecture. For example, when you run the following on a macOS:

$ docker run –rm docker.io/username/demo:latest@sha256:2b77acdfea5dc5baa489ffab2a0b4a387666d1d526490e31845eb64e3e73ed20 uname -m aarch64

$ docker run –rm docker.io/username/demo:latest@sha256:723c22f366ae44e419d12706453a544ae92711ae52f510e226f6467d8228d191 uname -m armv7l