Mark
Mark

Reputation: 6464

kernel module inside of LXC container

Is my understanding correct that kernel modules are NOT supposed to be loaded inside of LXC, and only must be loaded on the host, since containers share the host's kernel ?

Upvotes: 2

Views: 1685

Answers (1)

code4
code4

Reputation: 31

No, you can install kernel modules inside LXC just like any linux system. But there are seccomp extensions that you can use to prevent installing modules inside LXC, once configured insmod will fail.

Upvotes: 2

Related Questions