WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /register: exec format error
Getting this error while using the below bitbucket-pipelines.yml
Hi @sathish 2905 and welcome to the community!
Since the error message mentions that the host platform is linux/arm64/v8, I assume you are running this build on a self-hosted Linux Docker ARM runner. Is that correct?
Do you get this error while one of the build's commands get executed, and if so which one?
I'm not sure which image the command docker buildx build is using, however the docker run command is using the DockerHub image multiarch/qemu-user-static. Checking this image in DockerHub, it looks like it doesn't support ARM architecture:
You can see on the page above that only linux/amd64 is mentioned for OS/ARCH. So, you can only use this image on a host with linux/amd64.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.