From 33d044b74aefc3e9b7c609857bdf75e71cd36083 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 8 Sep 2017 08:55:14 +0100 Subject: [PATCH] docs: Update limitations doc for --cpus Mention that although `--cpus` is not supported, `--cpu-quota` and `--cpu-period` are [1]. Fixes #494. [1] - See https://github.com/containers/virtcontainers/pull/344 and https://github.com/clearcontainers/runtime/issues/436. Signed-off-by: James O. D. Hunt --- docs/limitations.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/limitations.md b/docs/limitations.md index 43d3e28d..f34e5860 100644 --- a/docs/limitations.md +++ b/docs/limitations.md @@ -48,6 +48,10 @@ configuration. It should be possible to pass this information through to the QEMU command line CPU configuration options to gain a similar effect. +Note that the `--cpu-quota` and `--cpu-period` `docker run` options are +supported; in combination, these two options can provide most of the +functionality that `--cpus` would offer. + See issue [\#341](https://github.com/clearcontainers/runtime/issues/341) for more information. #### `docker run --kernel-memory=`