diff --git a/docker/api/container.py b/docker/api/container.py index 2dca68a1..326e7679 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -502,6 +502,7 @@ class ContainerApiMixin(object): bytes) or a string with a units identification char (``100000b``, ``1000k``, ``128m``, ``1g``). If a string is specified without a units character, bytes are assumed as an + mem_reservation (int or str): Memory soft limit. mem_swappiness (int): Tune a container's memory swappiness behavior. Accepts number between 0 and 100. memswap_limit (str or int): Maximum amount of memory + swap a diff --git a/docker/models/containers.py b/docker/models/containers.py index d321a580..999851ec 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -618,7 +618,7 @@ class ContainerCollection(Collection): (``100000b``, ``1000k``, ``128m``, ``1g``). If a string is specified without a units character, bytes are assumed as an intended unit. - mem_reservation (int or str): Memory soft limit + mem_reservation (int or str): Memory soft limit. mem_swappiness (int): Tune a container's memory swappiness behavior. Accepts number between 0 and 100. memswap_limit (str or int): Maximum amount of memory + swap a