FUSE inside unprivileged LXC

Kernels & Hardware, configuring network, installing services

FUSE inside unprivileged LXC

Postby spacebug » 2017-12-31 11:43

How can I use FUSE (for sshfs) inside an unprivileged LXC?

I'm on Debian Stretch.

I have tried adding the line
Code: Select all
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0
to the LXC config.
After that I see /dev/fuse inside the LXC. However when I try to use sshfs I get "operation not allowed".

Trying to add the line
Code: Select all
lxc.cgroup.devices.allow = c 10:229 rwm
to the config I get "lxc-start: cgroups/cgfsng.c: cgfsng_setup_limits: 1949 No such file or directory - Error setting devices.allow to c 10:229 rwm for debian".
Posts: 2
Joined: 2017-12-31 11:35

Return to System configuration

Who is online

Users browsing this forum: ruwolf and 9 guests