No direct help. But since MacOS runs on top of some UNIX, why not exploit that and use UNIX (without VM)?

Then, in a VM like VirtualBox, you need to install and configure the package Guest...