@@ -456,8 +456,8 @@ def run(self, image, command=None, stdout=True, stderr=False,
456
456
cap_add (list of str): Add kernel capabilities. For example,
457
457
``["SYS_ADMIN", "MKNOD"]``.
458
458
cap_drop (list of str): Drop kernel capabilities.
459
- cpu_group (int): The length of a CPU period in microseconds.
460
- cpu_period (int): Microseconds of CPU time that the container can
459
+ cpu_period (int): The length of a CPU period in microseconds.
460
+ cpu_quota (int): Microseconds of CPU time that the container can
461
461
get in a CPU period.
462
462
cpu_shares (int): CPU shares (relative weight).
463
463
cpuset_cpus (str): CPUs in which to allow execution (``0-3``,
@@ -510,14 +510,12 @@ def run(self, image, command=None, stdout=True, stderr=False,
510
510
driver.
511
511
512
512
mac_address (str): MAC address to assign to the container.
513
- mem_limit (float or str): Memory limit. Accepts float values
513
+ mem_limit (int or str): Memory limit. Accepts float values
514
514
(which represent the memory limit of the created container in
515
515
bytes) or a string with a units identification char
516
516
(``100000b``, ``1000k``, ``128m``, ``1g``). If a string is
517
517
specified without a units character, bytes are assumed as an
518
518
intended unit.
519
- mem_limit (str or int): Maximum amount of memory container is
520
- allowed to consume. (e.g. ``1G``).
521
519
mem_swappiness (int): Tune a container's memory swappiness
522
520
behavior. Accepts number between 0 and 100.
523
521
memswap_limit (str or int): Maximum amount of memory + swap a
0 commit comments