I need to have the underlying DockerForWindows VM to automatically load some modules and am wondering how to do this. Basically I need to do the equivalent of
modprobe nfs
modprobe nfsd
modprobe rpcsec_gss_krb5
I am able to connect the underlying VM and manually do this, however, after a restart of Docker for Windows, this is obviously lost. I also realize that updating the underlying /etc/modules or the /etc/modules.d will not work as these again are part of the VM image and are lost on restart.
So how can I setup a configuration to enable these modules that persists across restarts.