Merge pull request #91 from hqhq/hq_add_cgroup_mount

Add cgroup mount in the recommended config
This commit is contained in:
Mrunal Patel
2015-07-15 09:51:24 -07:00
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ func mountToRootfs(m *configs.Mount, rootfs, mountLabel string) error {
Device: "bind",
Source: filepath.Join(mm.Mountpoint, dir),
Destination: filepath.Join(m.Destination, strings.Join(mm.Subsystems, ",")),
Flags: syscall.MS_BIND | syscall.MS_REC | syscall.MS_RDONLY,
Flags: syscall.MS_BIND | syscall.MS_REC | m.Flags,
})
}
tmpfs := &configs.Mount{