Docker multi-platform fails

Fri Jan 31, 2025

Docker won’t run cross-platform containers any more. What gives?

Normally I used qemu-user-static like sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes

This worked great. After some updates and upgrades, it didn’t work when I picked one of my projects back up.

I flailed for a bit, and finally decided to RTFM:

From: https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html

# mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc

Huh?

$ mount |grep binfmt
$ 

That’s not mounted.

sunuvabitch.

That was it.