Merge pull request #127 from hqhq/hq_fix_tmpfs_mount

Correct tmpfs mount for cgroup
This commit is contained in:
Alexander Morozov
2015-07-14 22:11:52 -07:00
+1
View File
@@ -189,6 +189,7 @@ func mountToRootfs(m *configs.Mount, rootfs, mountLabel string) error {
}
tmpfs := &configs.Mount{
Device: "tmpfs",
Source: "tmpfs",
Destination: m.Destination,
Flags: syscall.MS_NOEXEC | syscall.MS_NOSUID | syscall.MS_NODEV,
}