I've juste installed a custom kernel module to enable SCTP support on my Macbook
And I would like to load this kernel module inside my docker container.
I tried to start a container using the --cap-add SYS_MODULE flag and install the libsctp-dev lksctp-tools kmod packages in the container to enable sctp using "modprobe sctp"... but unsuccessfully:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.9.13-moby/modules.dep.bin' modprobe:
FATAL: Module SCTP not found in directory /lib/modules/4.9.13-moby
On a linux host, some people advise do to do like that : Docker loading kernel modules but it's both uncompatible with macOS and "dirty"...
So my question is : Does anyone know how to use kernel module in a docker container using a macOs host ? Is that even possible ?