diff options
author | Leonid Mirsky <leonidlm@gmail.com> | 2014-08-05 11:40:08 +0300 |
---|---|---|
committer | Leonid Mirsky <leonidlm@gmail.com> | 2014-08-05 11:40:08 +0300 |
commit | 019468dad8330f183e06a9d030701b3906bfc73e (patch) | |
tree | c850292971edb096ea0b012dd9bb78ad6d2ec90c /README.md | |
parent | 14f9c07b01b57b58b447bd6a1145d1c0e1a72f88 (diff) | |
download | docker-py-019468dad8330f183e06a9d030701b3906bfc73e.tar.gz |
Adding units specification to mem_limit variable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,8 @@ more information on how to create port bindings and volume mappings. The `environment` variable accepts a dictionary or a list of strings in the following format `["PASSWORD=xxx"]` or `{"PASSWORD": "xxx"}`. +The `mem_limit` variable accepts float values (which represent the memory limit of the created container in bytes) or a string with a units identification char ('1000k', 128m', '1g'). + `volumes_from` and `dns` arguments raise TypeError exception if they are used against v1.10 of docker remote API. Those arguments should be passed to `start()` instead. |