Answers for "lxc install sshfs"


lxc install sshfs

1. stop the LXC container
lxc-stop -kn {container_name}

2. add these lines at LXC container config file 
--default location at:

lxc.cgroup.devices.allow = c 10:200 rwm
lxc.cgroup.devices.allow = c 108:0 rwm
lxc.cgroup.devices.allow = c 10:229 rwm
lxc.cgroup.devices.allow = b 7:0 rwm

3. execute this inside LXC container

apt install sshfs fuse3; \
update-rc.d -f udev disable; systemctl stop udev; \
systemctl disable udev; \
mknod /dev/fuse c 10 229
Posted by: Guest on October-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language