[lxc-devel] Anybody used FUSE in a container?

Daniel Lezcano daniel.lezcano at free.fr
Wed Feb 23 08:50:41 UTC 2011


On 02/23/2011 05:24 AM, Rob Landley wrote:
> After investigating I don't see any reason sshfs shouldn't work just
> fine in a container out of the box (all the network stuff happens in
> userspace), but I can't create the FUSE dev node from within the
> container because mknod doesn't work from the container's root.

Isn't the cgroup whitelist preventing the node creation ?

You should add to the container's configuration file the line:

lxc.cgroup.devices.allow = c 10:229 rwm

(and may be create /dev/fuse)

> I thought the point of linking in a capabilities library was to let the
> container's root do that sort of thing?  What's the status of dev
> namespaces in current vanilla




More information about the lxc-devel mailing list