Files
containerd/pkg/server
Akihiro Suda 71740399e0 cgroup2: unshare cgroup namespace for containers
In cgroup v1 container implementations, cgroupns is not used by default because
it was not available in the kernel until kernel 4.6 (May 2016), and the default
behavior will not change on cgroup v1 environments, because changing the
default will break compatibility and surprise users.

For cgroup v2, implementations are going to unshare cgroupns by default
so as to hide /sys/fs/cgroup from containers.

* Discussion: https://github.com/containers/libpod/issues/4363
* Podman PR (merged): https://github.com/containers/libpod/pull/4374
* Moby PR: https://github.com/moby/moby/pull/40174

This PR enables cgroupns for containers, but pod sandboxes are untouched
because probably there is no need to do.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-01-09 14:58:30 +09:00
..
2019-09-18 10:46:29 -07:00
2019-09-18 10:46:29 -07:00
2019-09-18 10:46:29 -07:00
2019-04-18 00:18:26 -07:00
2019-12-06 10:56:27 -08:00
2019-12-06 10:56:27 -08:00
2019-11-26 13:25:52 -08:00
2019-12-06 10:56:27 -08:00
2019-09-18 17:21:37 -07:00
2019-09-19 14:05:28 -07:00
2019-09-18 17:21:37 -07:00
2019-09-19 14:05:28 -07:00
2018-09-10 11:30:52 -07:00
2019-09-18 10:46:29 -07:00
2018-03-17 02:24:38 +00:00
2019-09-23 17:36:43 -07:00