diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py index 3e1af256f1..f07b1a6d62 100644 --- a/salt/modules/dockerng.py +++ b/salt/modules/dockerng.py @@ -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 diff --git a/salt/states/dockerng.py b/salt/states/dockerng.py index bae32bdee6..3eaeb5d8bd 100644 --- a/salt/states/dockerng.py +++ b/salt/states/dockerng.py @@ -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