mirror of https://github.com/docker/docker-py.git
Merge pull request #2217 from eiffel-fl/master
Add documentation to argument 'mem_reservation' in ContainerCollection::run
This commit is contained in:
commit
01dcde2f0c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue