Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
This post is intended for DevOps professionals who have encountered the following issue while running a container that uses PHP:
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested. standard_init_linux.go:228: exec user process caused: exec format error
The error occurs when using docker run, for example:
docker run - rm -p 9000:9000 1234567.dkr.ecr.us-east-1.amazonaws.com/devops-mind:php-1
It was necessary to build the PHP image from a Linux workstation instead of macOS.