From d5533ffb7e4adc8809208bc2bd70848cdfb6dc20 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 2 May 2021 23:19:57 +0200 Subject: [PATCH] create-lx-container.sh: add entry in LXC configuration to support fuse filesystem. --- create-lx-container.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/create-lx-container.sh b/create-lx-container.sh index 51b1cb6..69ef01c 100755 --- a/create-lx-container.sh +++ b/create-lx-container.sh @@ -1209,6 +1209,14 @@ EOF lxc.apparmor.profile = unconfined +# support fuse (filesystem in userspace) +# +# fuse-overlayfs package must be installed both on host and +# inside container +# +lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0 + + # Autostart lxc.start.auto = 1 lxc.start.delay = 5 @@ -1368,6 +1376,14 @@ EOF #lxc.apparmor.profile = unconfined +# support fuse (filesystem in userspace) +# +# fuse-overlayfs package must be installed both on host and +# inside container +# +lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0 + + # Autostart lxc.start.auto = 1 lxc.start.delay = 5