1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/config
Rob Gulewich 072400fc4b Make cgroup namespaces configurable
This adds both a daemon-wide flag and a container creation property:
- Set the `CgroupnsMode: "host|private"` HostConfig property at
  container creation time to control what cgroup namespace the container
  is created in
- Set the `--default-cgroupns-mode=host|private` daemon flag to control
  what cgroup namespace containers are created in by default
- Set the default if the daemon flag is unset to "host", for backward
  compatibility
- Default to CgroupnsMode: "host" for client versions < 1.40

Signed-off-by: Rob Gulewich <rgulewich@netflix.com>
2019-05-07 10:22:16 -07:00
..
builder.go builder: use buildkit's GC for build cache 2018-09-21 22:06:00 +00:00
config.go Remove the rest of v1 manifest support 2019-03-02 10:46:37 -08:00
config_common_unix.go Fixes for resolv.conf 2018-07-26 11:17:56 -07:00
config_common_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_unix.go Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
config_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_windows.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
config_windows_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
opts.go Add canonical import comment 2018-02-05 16:51:57 -05:00