Running amd64 containers on arm64 machine

Hello there, I have a host machine running arm64, and I want to run an amd64 image on it. My original purpose was to run rasa/duckling on it, and I even tried cross-building using buildx, but I couldn’t get it to work and it always gave me the error standard_init_linux.go:228: exec user process caused: exec format error.

Is there a way I can run an ubuntu amd64 container on arm64 machine, or cross-build an existing amd64 image to run on arm64 machines? Any help would be greatly appreciated, thank you.


I just tried to use buildx ( docker buildx build --platform linux/arm64 . ) and it worked for me, what OS are you building it on?

You should also be able to pull the github down on your arm64 host, and just “docker build -t duckling .”