All Products
Search
Document Center

Serverless App Engine:Why does an image built on an ARM architecture machine (Mac with an M-series chip) fail to run in SAE?

Last Updated:Oct 09, 2025

If you build an application image on a Mac computer with an Apple chip, such as an M1 or M2, the image may fail to run when deployed to SAE. To prevent this issue, build the image with the AMD64 architecture machine.

Download the latest version of Docker. When you build the image, add the --platform=linux/amd64 parameter to enable cross-platform compilation for the Linux/Amd64 platform.

The following command is an example.

docker buildx build --platform=linux/amd64 . -t container_name

For more information about how to create images, see Images.