docker run --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d-amd64
If it worked, this should print something:
cat /proc/sys/fs/binfmt_misc/qemu-arm
enabled
interpreter /usr/bin/qemu-arm
flags: OCF
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00fffffffffffffffffeffffff
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --platform linux/arm/v7 -t tensorflow:2.1.0-cp35 --load .
It should take about 2 hours on a 9900k.
docker run --rm -it francoisgervais/tensorflow:2.1.0-cp35 bash