How to run docker containers in Intel/x86 mode on an M1 Mac

I’m working on a node.js/blitz.js/web project that uses pact via the pact-node package. Unfortunately, this package isn’t compatible with Apple’s M1 (aarm64) chip due to the standalone ruby (Intel/x86-only) that’s packaged with it. Instead of trying to have two node installations for each platform, I decided to try and get docker to build and run my app images using the amd64 platform. And it works!

Read More