1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
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
..
backend/build grpc: register BuildKit controller to /grpc 2019-04-02 19:57:59 +00:00
httputils Move httputils error helpers to errdefs package 2019-03-16 00:42:23 +01:00
middleware api/server, dockerversion: modify context key 2018-08-22 11:20:22 +09:00
router Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
middleware.go Add canonical import comment 2018-02-05 16:51:57 -05:00
router_swapper.go Add canonical import comment 2018-02-05 16:51:57 -05:00
server.go Move httputils error helpers to errdefs package 2019-03-16 00:42:23 +01:00
server_test.go Various code-cleanup 2018-05-23 17:50:54 +02:00