diff --git a/example.container b/example.container index 2108e18..29cce0a 100644 --- a/example.container +++ b/example.container @@ -48,5 +48,23 @@ "capabilities": { "add": [ "NET_RAW" ], "drop": [ "CAP_SYS_ADMIN" ] + }, + "accounting": { + "cgroup": { + "config": ["memory.high=1073741824"], + "parent": "/example-parent", + "namespace": "host", + "how": "enabled" + }, + "cpu": { + "period": "100000", + "quota": "100000", + "shares": "1024", + "number": "4", + "cpuset": { + "cpus": "0-3,11-15", + "mems": "0,1" + } + } } }