d/binfmt-update-in: fix binfmt being called in containers (LP: #1840956)

The old container check only covers LXD and a few others. Using systemd container detection allows us to "grow with it" as they will implement new container types as they become known. This way this fixes for example the postinst of qemu-user-static in WSL.

Merge request reports

Loading