How to use Darling (Darwin on Linux like Wine) on LXC container?

I want to use Darling inside a contianer because it allow me to build application using Xcode Tools
It request install lkm kernel mod
more about it
https://www.darlinghq.org/

How to build and install it
https://docs.darlinghq.org/build-instructions.html

:thinking: I guess you would need to install the kernel module on your host and then either the kernel module is automatically available in your container (How to use linux.kernel_modules) or you would need to load the kernel module into your container (According to the link, this does not seem to be necessary (anymore)).
This would be done with:

linux.kernel_modules: wireguard    #wireguard is only the example of course
1 Like