summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2014-08-22 13:26:03 +0200
committerJoffrey F <joffrey@docker.com>2014-08-22 13:26:03 +0200
commit24eb16c33a66e40534c1c585488c00cb2e468a3e (patch)
tree3e019241b7b36379bd7662dc430359c173f8dd73 /README.md
parentdba1c454546ec1f78eb94484bb33c7b0748fe8a8 (diff)
parent3987a8f5e5fbf391a8dc2eaa2850fe5de63d4ff9 (diff)
downloaddocker-py-24eb16c33a66e40534c1c585488c00cb2e468a3e.tar.gz
Amended create_container documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3ea5b65..ba06c86 100644
--- a/README.md
+++ b/README.md
@@ -78,10 +78,16 @@ 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.
+`command` is the command to be run in the container. String or list types are
+accepted.
+
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 ('100000b', 1000k', 128m', '1g'). If a string is specified without a units character, bytes are assumed as an intended unit.
+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
+('100000b', 1000k', 128m', '1g'). If a string is specified without a units
+character, bytes are assumed as an intended unit.
`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