update documentation of dockerng cpu_shares

This commit is contained in:
ttb 2016-10-23 03:02:42 +02:00
parent 7908819b70
commit 137642b845
2 changed files with 3 additions and 3 deletions

View File

@ -2852,7 +2852,7 @@ def create(image,
cpu_shares
CPU shares (relative weight)
Example: ``cpu_shares=0.5``, ``cpu_shares=1``
Example: ``cpu_shares=0``, ``cpu_shares=256``
cpuset
CPUs on which which to allow execution, specified as a string

View File

@ -1131,14 +1131,14 @@ def running(name,
- /mnt/vol2
cpu_shares
CPU shares (relative weight)
CPU shares (relative weight), specified as an integer between 2 and 1024.
.. code-block:: yaml
foo:
dockerng.running:
- image: bar/baz:latest
- cpu_shares: 0.5
- cpu_shares: 256
cpuset
CPUs on which which to allow execution, specified as a string