diff options
| author | Aanand Prasad <aanand.prasad@gmail.com> | 2015-03-20 14:26:10 -0700 |
|---|---|---|
| committer | Aanand Prasad <aanand.prasad@gmail.com> | 2015-03-20 15:42:10 -0700 |
| commit | bd72bd13c7a49f69dcacfdf655c15b5be2aaa2ad (patch) | |
| tree | 08774701b8f061470cb4fa8282cc94979b092f37 /docs | |
| parent | 014dba284198e97925223bb95172281d7dd4e3e0 (diff) | |
| download | docker-py-bd72bd13c7a49f69dcacfdf655c15b5be2aaa2ad.tar.gz | |
Finish labels implementation, add tests and docs
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md index fa1987a..2415cc2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -209,6 +209,7 @@ from. Optionally a single string joining container id's with commas * memswap_limit (int): * host_config (dict): A [HostConfig](hostconfig.md) dictionary * mac_address (str): The Mac Address to assign the container +* labels (dict or list): A dictionary of name-value labels (e.g. `{"label1": "value1", "label2": "value2"}`) or a list of names of labels to set with empty values (e.g. `["label1", "label2"]`) **Returns** (dict): A dictionary with an image 'Id' key and a 'Warnings' key. |
