I have to admit to a little bit of trepidation about the Rosetta mount point. Will this work for Docker without explicitly passing that mount point through to the containers?
The way this would work is Docker would be setting this up for you (maybe through some option to switch between qemu and Rosetta).
The containers should not need the mount.
What happens is Rosetta gets registered with the kernel (binfmt_misc) to execute x86 binaries.
The is the same mechanism that allows seamless qemu support.
Yeah I'm not entirely sure how they're going to make this work, but I kind of understand why it's so weird, because there's really not any very good way to communicate between macOS userspace and some arbitrary kernel running inside the VM…