Add documentation format of environment variable

This fixes #277
This commit is contained in:
Sam Stoelinga 2014-07-22 16:05:58 +08:00
parent d2f49a9db4
commit 0c147927d2
1 changed files with 3 additions and 0 deletions

View File

@ -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 attach options (`-a`). See "Port bindings" and "Using volumes" below for
more information on how to create port bindings and volume mappings. 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 `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 against v1.10 of docker remote API. Those arguments should be passed to
`start()` instead. `start()` instead.