From 0c147927d2b183b59966b141a3561539acfb3b41 Mon Sep 17 00:00:00 2001 From: Sam Stoelinga Date: Tue, 22 Jul 2014 16:05:58 +0800 Subject: [PATCH] Add documentation format of environment variable This fixes #277 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index fd07a011..9795f620 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,9 @@ to those for the `docker run` command except it doesn't support the attach options (`-a`). See "Port bindings" and "Using volumes" below for 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"}`. + `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.