We could now either just use 1) systemd-detect-virt --container 2) test install a handler with no effect sudo update-binfmts --package test --install test /bin/true --magic 0x1 --mask 0x0
(2) is more functional as it might detect the odd and rare case of a container that does support this. But I think (1) is more stable. In most containers even if working it might cause near random issue later on. For those rare cases an admin/user can still register the binfmt type on his own. That seems wiser for the overall majority of Ubuntu users. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840956 Title: qemu-user-static fails to install in WSL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1840956/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
