16 Building Docker images that run anywhere: Linux, Windows, Intel, and Arm

There are dozens of try-it-now exercises in this book, and if you’ve used different machines to follow along, you’ll have seen that the exercises work in the same way on Mac, Windows, Linux, and Raspberry Pi. That’s not an accident--I’ve built every Docker image in this book as a multi-architecture image. Multi-arch images are built and pushed to registries with multiple variants, each targeting a different operating system or CPU architecture, but all using the same image name. When you use one of these images to run a container or to build another image, Docker pulls the matching variant for the CPU and OS on your machine. If you use the same image name on a different ...

Get Learn Docker in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.