[lxc-devel] [PATCH v2] lxc-alpine: mount tmpfs on /dev/shm

Kaarle Ritvanen kaarle.ritvanen at datakunkku.fi
Tue Jan 28 17:03:27 UTC 2014


Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
---
Changes since v1:
 Added missing sign-off

 templates/lxc-alpine.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 50a6a71..40957ab 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -227,6 +227,7 @@ lxc.cgroup.devices.allow = c 254:0 rm
 lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0
 lxc.mount.entry=run run tmpfs nodev,noexec,nosuid,relatime,size=1m,mode=0755 0 0
 lxc.mount.entry=none dev/pts devpts gid=5,mode=620 0 0
+lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec 0 0
 
 EOF
 
-- 
1.8.3.1



More information about the lxc-devel mailing list