Docker Community Forums

Share and learn in the Docker community.

Arm64v8:ubuntu cannot run on qemu based x86_64 machine

I configure the qemu like this on my x86_64 host machine:

apt update && apt install qemu-user-static qemu qemu-user binfmt-support
docker run --rm --privileged multiarch/qemu-user-static --reset

Then I can run arm32v7 docker image on my machine:

docker run -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static --rm -ti arm32v7/ubuntu uname -m

The output is :armv7l:

However, when I try to run arm64v8, which same command:

docker run -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static --rm -ti arm64v8/ubuntu uname -m

The output is

standard_init_linux.go:211: exec user process caused "no such file or directory"

My docker is 18.09 and my host is ubuntu16.4.
How could I solve this problem please ?