Skip to content

Commit

Permalink
docs: Update limitations doc for --cpus
Browse files Browse the repository at this point in the history
Mention that although `--cpus` is not supported, `--cpu-quota` and `--cpu-period` are [1].

Fixes clearcontainers#494.

[1] - See containers/virtcontainers#344 and
clearcontainers#436.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Sep 8, 2017
1 parent 336d3a4 commit 33d044b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/limitations.md
Expand Up @@ -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=`
Expand Down

0 comments on commit 33d044b

Please sign in to comment.