docker-autocompose icon indicating copy to clipboard operation
docker-autocompose copied to clipboard

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7)

Open TRaSH- opened this issue 3 years ago • 1 comments

When running sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose:latest container1 container2

we're getting the following error

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error

i did a google search but it seems something is missing in the build command, hope it's a easy fix

TRaSH- avatar Oct 03 '21 08:10 TRaSH-

Same here. I run it on a RPi4 64bits and runs OK, if I run it on a Pi Zero W, which is 32bits, it gives the same error. Surely there is something related to that, but I could not fix it. I tryed playing with "--platform=linux/arm/v6" and such, but no luck. Hope someone gets it!

My error is: "WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested"

federicoalvarez-github avatar Jul 11 '22 18:07 federicoalvarez-github