Fix: Azure Container Registry Restarting Infinitely for Image Build from M1

tanut aran
Jan 9, 2023

Docker image run local gracefully. Deploy and stuck at infinite reboot

The problem is at your Docker File build from Mac M1

You must include this options to let it know that your build is for x64 architecture.


Example in Node.js image is:

FROM --platform=linux/amd64 node:16-alpine