在LXC容器内的modprobe

我需要在LXC容器中运行一个WebDAV服务器,但我被告知modprobe不可用(即使是root)。 我已经看到这是开发人员所要求的,但是我怎样才能解决这个问题呢?

运行在Debian挤压。

以下是在主服务器上加载dav2fs后得到的消息:

Please enter the username to authenticate with server http://10.102.42.101/owncloud/files/webdav.php or hit enter for none. Username: lwapnitsky Please enter the password to authenticate user lwapnitsky with server http://10.102.42.101/owncloud/files/webdav.php or hit enter for none. Password: /sbin/mount.davfs: sh: 1: can't open fuse device /sbin/modprobe: not found/sbin/mount.davfs: trying coda kernel file system sh: 1: /sbin/modprobe: not found /sbin/mount.davfs: no free coda device to mount 

LXC是 – 根据自己的主页 “类固醇chroot”。 所以基本上你可以使用“主”内核(在容器之外),而不是像虚拟化那样使用你自己的内核。

所以如果你确实需要一个特定的内核模块,那么你的LXC服务器上就必须加载这个模块。