1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver/lxc
Antonio Murdaca cfcddefacd daemon: execdriver: lxc: fix cgroup paths
When running LXC dind (outer docker is started with native driver)
cgroup paths point to `/docker/CID` inside `/proc/self/mountinfo` but
these paths aren't mounted (root is wrong). This fix just discard the
cgroup dir from mountinfo and set it to root `/`.
This patch fixes/skip OOM LXC tests that were failing.
Fix #16520

Signed-off-by: Antonio Murdaca <runcom@linux.com>
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
2015-10-13 14:46:59 -07:00
..
driver.go daemon: execdriver: lxc: fix cgroup paths 2015-10-13 14:46:59 -07:00
info.go Fix golint warnings for daemon/execdriver/* 2015-07-28 08:43:22 +08:00
info_test.go Windows: Factor out LXC 2015-04-30 14:28:35 -07:00
init.go Fix golint warnings for daemon/execdriver/* 2015-07-28 08:43:22 +08:00
lxc_init_linux.go Update libcontainer 2015-07-16 16:02:26 -07:00
lxc_init_unsupported.go Windows: Factor out LXC 2015-04-30 14:28:35 -07:00
lxc_template.go daemon: execdriver: lxc: fix set memory swap 2015-10-13 14:46:59 -07:00
lxc_template_unit_test.go daemon: execdriver: lxc: fix set memory swap 2015-10-13 14:46:59 -07:00