colima icon indicating copy to clipboard operation
colima copied to clipboard

vm: make binfmt emulation configurable

Open winterqt opened this issue 6 months ago • 0 comments

As ed49fef4ad63ec48055b4b230ecbad00c54f5417 did for Rosetta, this change adds a flag to control whether binfmt emulation is setup.

In the future, I think it'd be interesting to consider making the option's type []string | bool, where true keeps the default behavior of automatically picking the architectures to enable, false disables binfmt setup, and a list will let the user define which architectures to emulate. (I'd be happy to do this here if you'd like, I think it may be the better solution. :))

winterqt avatar May 09 '25 00:05 winterqt