Added comment for `command` argument

Added comment for the variable type of `create_container`'s `command` argument
This commit is contained in:
Ivan Fraixedes 2014-07-15 15:35:49 +01:00
parent 747304d5f0
commit 3987a8f5e5
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ 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.
`command` is a string to specify the ARGS to pass to `docker run`.
`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.