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_nameFor more information about how to create images, see Images.