lxc-alpine: mount /dev/shm as tmpfs

Signed-off-by: Jakub Jirutka <jakub@jirutka.cz>
This commit is contained in:
Jakub Jirutka 2016-10-12 13:32:18 +02:00
parent aa74ed7b96
commit 48938fe71d
No known key found for this signature in database
GPG Key ID: 833889ED35C69BBA

View File

@ -19,5 +19,8 @@ lxc.cap.drop = sys_tty_config
lxc.cap.drop = syslog
lxc.cap.drop = wake_alarm
# Mount tmpfs under /run.
# Mount /run as tmpfs.
lxc.mount.entry=run run tmpfs rw,nodev,relatime,mode=755 0 0
# Mount /dev/shm as tmpfs; needed for building python and possibly other packages.
lxc.mount.entry=shm dev/shm tmpfs rw,nodev,noexec,nosuid,relatime,mode=1777,create=dir 0 0