Skip to content

Commit 0c14792

Browse files
committed
Add documentation format of environment variable
This fixes #277
1 parent d2f49a9 commit 0c14792

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ to those for the `docker run` command except it doesn't support the
7878
attach options (`-a`). See "Port bindings" and "Using volumes" below for
7979
more information on how to create port bindings and volume mappings.
8080

81+
The `environment` variable accepts a dictionary or a list of strings
82+
in the following format `["PASSWORD=xxx"]` or `{"PASSWORD": "xxx"}`.
83+
8184
`volumes_from` and `dns` arguments raise TypeError exception if they are used
8285
against v1.10 of docker remote API. Those arguments should be passed to
8386
`start()` instead.

0 commit comments

Comments
 (0)