mirror of
git://github.com/lxc/lxc
synced 2025-08-31 12:49:31 +00:00
fix /proc not mounted in debian container
Mount some systemm fs for the container. By default, /proc is no longer mounted in debian. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
committed by
Daniel Lezcano
parent
cd453b38b7
commit
a7dff83460
@@ -203,6 +203,11 @@ lxc.cgroup.devices.allow = c 136:* rwm
|
||||
lxc.cgroup.devices.allow = c 5:2 rwm
|
||||
# rtc
|
||||
lxc.cgroup.devices.allow = c 254:0 rwm
|
||||
|
||||
# mounts point
|
||||
lxc.mount.entry=proc $rootfs/proc proc nodev,noexec,nosuid 0 0
|
||||
lxc.mount.entry=devpts $rootfs/dev/pts devpts defaults 0 0
|
||||
lxc.mount.entry=sysfs $rootfs/sys sysfs defaults 0 0
|
||||
EOF
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
|
Reference in New Issue
Block a user