How to Run Arm64 Docker on X86

sudo apt update
sudo apt-get -y install qemu binfmt-support qemu-user-static # Install the qemu packages

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # This step will execute the registering scripts

docker run --rm -t arm64v8/ubuntu:16.04 uname -m # Testing the emulation environment
#aarch64

run it

sudo docker run -it -u root --net=host -v $(pwd):/root --workdir /root --privileged -t arm64v8/ubuntu:16.04

文档信息