Commit a56530d
committed
config-linux: Require no cgroup tweaks when linux.resources is unset
Or empty. Using:
"resources": {}
should mean the same thing as:
"resources": null
or as not specifying 'resources' at all, so we can drop th "Do not
specify" requirement.
It's good to be clear about what leaving the properties unset/empty
means though. I'd prefer a config-wide rule like [1], but if that is
too much to bite off I expect we can at least do that for cases where
a new container is joining an existing cgroup.
[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/DWdystx5X3A
Subject: Exposing platform defaults
Date: Thu, 14 Jan 2016 15:36:26 -0800
Message-ID: <20160114233625.GN6362@odin.tremily.us>
Signed-off-by: W. Trevor King <wking@tremily.us>1 parent 2239827 commit a56530d
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments