runc/libcontainer/configs
Yuanhong Peng df3fa115f9 Add support for cgroup namespace
Cgroup namespace can be configured in `config.json` as other
namespaces. Here is an example:

```
"namespaces": [
	{
		"type": "pid"
	},
	{
		"type": "network"
	},
	{
		"type": "ipc"
	},
	{
		"type": "uts"
	},
	{
		"type": "mount"
	},
	{
		"type": "cgroup"
	}
],

```

Note that if you want to run a container which has shared cgroup ns with
another container, then it's strongly recommended that you set
proper `CgroupsPath` of both containers(the second container's cgroup
path must be the subdirectory of the first one). Or there might be
some unexpected results.

Signed-off-by: Yuanhong Peng <pengyuanhong@huawei.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-10-31 10:51:43 -04:00
..
validate Add support for cgroup namespace 2018-10-31 10:51:43 -04:00
blkio_device.go Adjust runc to new opencontainers/specs version 2015-10-03 12:25:33 +02:00
cgroup_linux.go Update memory specs to use int64 not uint64 2017-06-27 12:16:07 +01:00
cgroup_windows.go Windows: Refactor configs/cgroup.go 2015-10-23 13:08:18 -07:00
config.go libcontainer: intelrdt: add support for Intel RDT/MBA in runc 2018-10-16 14:29:29 +08:00
config_linux.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
config_linux_test.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
config_test.go Update runtime spec to 1.0.0.rc5 2017-03-15 11:38:37 -07:00
config_windows_test.go Windows: Refactor state struct 2015-10-26 14:45:20 -07:00
device.go Update runc for devices changes 2016-02-08 13:15:12 -08:00
device_defaults.go libcontainer: drop FreeBSD support 2017-11-24 14:51:05 +01:00
hugepage_limit.go Adjust runc to new opencontainers/specs version 2015-10-03 12:25:33 +02:00
intelrdt.go libcontainer: intelrdt: add support for Intel RDT/MBA in runc 2018-10-16 14:29:29 +08:00
interface_priority_map.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
mount.go config: Add new Extensions flag to support custom mount options in runc 2016-09-30 09:46:46 -07:00
namespaces.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_linux.go libcontainer: implement CLONE_NEWCGROUP 2018-10-23 16:23:00 -04:00
namespaces_syscall.go Add support for cgroup namespace 2018-10-31 10:51:43 -04:00
namespaces_syscall_unsupported.go Fix go_vet errors 2017-01-06 10:20:27 +08:00
namespaces_unsupported.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
network.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00