mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
update documentation of dockerng cpu_shares
This commit is contained in:
parent
7908819b70
commit
137642b845
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user