Say that you have compiled an executable for a Linux ARM system and you want to test it inside a Linux x86 system. Docker is able to use qemu to enable execution of different multi-architecture containers.
Execute the register script that registers binfmt_misc handlers for all supported processors except the current one in it when running the container.
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes