Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sshfs lxc

1. add lines below in the LXC container config file
#ppp
lxc.cgroup.devices.allow = c 108:0 rwm
#fuse
lxc.cgroup.devices.allow = c 10:229 rwm
#loop0
lxc.cgroup.devices.allow = b 7:0 rwm
#tun
lxc.cgroup.devices.allow = c 10:200 rwm

2. execute this inside container (as root)
cp -a /dev /dev.old
apt install sshfs
cp -a /dev.old/* /dev/
mknod /dev/fuse c 10 229
update-rc.d -f udev disable

Comment

PREVIOUS NEXT
Code Example
Shell :: setting config source di linux 
Shell :: shortan promt ubunto 
Shell :: ryu-manager install ubuntu 
Shell :: get symbols from library 
Shell :: strstr bash 
Shell :: user friendly linux distro 
Shell :: unable to locate package php-xmlrpc 
Shell :: isntall figma on fedroa 
Shell :: jq for xml 
Shell :: what is guthub 
Shell :: Scryptenconder install 
Shell :: Unable to start terminal in ubuntu 
Shell :: aws cli start crawler 
Shell :: colcon build number of threads 
Shell :: git remote branch 
Shell :: kubectl update field 
Shell :: linux count files fast 
Shell :: do something file not in the folder 
Shell :: linux backup command line 
Shell :: ta-lib github action 
Shell :: list of full path of file in text file ubuntu 
Shell :: conda install mahotas 
Shell :: clang format linux 
Shell :: how to install altair graphql on manjaro linux 
Shell :: npm warn ws butterfly install peer dependencies 
Shell :: replace spaces with hypen linux 
Shell :: platform cli 
Shell :: cd in linux 
Shell :: View Changes Before Committing 
Shell :: unable to resolve dns when kubernetes is running on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =