Files
docker-cli/components/engine/docs/reference/commandline
Qiang Huang 1a97e07ac0 Soften limitation of update kernel memory
Kernel memory is not allowed to be updated if container is
running, it's not actually a precise kernel limitation.

Before kernel version 4.6, kernel memory will not be accounted
until kernel memory limit is set, if a container created with
kernel memory initialized, kernel memory is accounted as soon
as process created in container, so kernel memory limit update
is allowed afterward. If kernel memory is not initialized,
kernel memory consumed by processes in container will not be
accounted, so we can't update the limit because the account
will be wrong.

So update kernel memory of a running container with kernel memory
initialized is allowed, we should soften the limitation by docker.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Upstream-commit: 08c7075c403b86111b2c393b49075a81a1d2263f
Component: engine
2016-07-12 08:07:24 +08:00
..
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2015-06-15 13:19:38 -07:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-01 16:16:53 -07:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-06-20 11:54:53 +00:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00
2016-07-07 20:43:18 +02:00