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/
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