Build ARM image with Docker

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

docker run --rm --privileged multiarch/qemu-user-static:register --reset

Keep docker container running

command: tail -f /dev/null

Using Ctrl-P in docker

echo '{
    "detachKeys": "ctrl-z,z"
}' > ~/.docker/config.json

host.docker.internal in production

https://forums.docker.com/t/host-docker-internal-in-production-environment/137507/4