Skip to content

Commit 24eb16c

Browse files
committed
Amended create_container documentation
2 parents dba1c45 + 3987a8f commit 24eb16c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,16 @@ 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+
`command` is the command to be run in the container. String or list types are
82+
accepted.
83+
8184
The `environment` variable accepts a dictionary or a list of strings
8285
in the following format `["PASSWORD=xxx"]` or `{"PASSWORD": "xxx"}`.
8386

84-
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.
87+
The `mem_limit` variable accepts float values (which represent the memory limit
88+
of the created container in bytes) or a string with a units identification char
89+
('100000b', 1000k', 128m', '1g'). If a string is specified without a units
90+
character, bytes are assumed as an intended unit.
8591

8692
`volumes_from` and `dns` arguments raise TypeError exception if they are used
8793
against v1.10 of docker remote API. Those arguments should be passed to

0 commit comments

Comments
 (0)