Created attachment 182934[details]
Add ELF brand recognition for musl Linux x86_64 binaries
This isn't a Docker problem, you'd get the same if you just extracted Alpine's rootfs and ran `jail -c path=$(pwd) mount.devfs ip4=inherit command=/bin/sh` there.
When a binary isn't recognized, you can run brandelf(1) on it.
However this would be terrible for actually doing work in a Linux jail — you install a package within Linux and the binary does not work and you have to brandelf it…
So here's a patch that makes FreeBSD recognize these binaries.

(In reply to Greg V from comment #7)
True. This issue has been open for a little while (7 months). Why don't we commit the patch we have now, and when we're able to figure out how to get 32-bit working, we can commit that later?