We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07a99ea + 5803896 commit 05ecc81Copy full SHA for 05ecc81
docs/hostconfig.md
@@ -91,6 +91,8 @@ for example:
91
* ulimits (list): A list of dicts or `docker.utils.Ulimit` objects. A list
92
of ulimits to be set in the container.
93
* log_config (`docker.utils.LogConfig` or dict): Logging configuration to container
94
+* mem_limit (str or num): Maximum amount of memory container is allowed to consume. (e.g. `'1g'`)
95
+* memswap_limit (str or num): Maximum amount of memory + swap a container is allowed to consume.
96
97
**Returns** (dict) HostConfig dictionary
98
0 commit comments