Merge pull request #81 from ureyes84/start_lxc_conf_doc

Added example to the lxc_conf argument in the start command
This commit is contained in:
Joffrey F 2013-11-07 07:54:25 -08:00
commit 4b8938ae24
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ dictionary whose key is the container's port and the value is a `[{'HostIp': ''
all host interfaces. By leaving the `HostPort` blank, Docker will
automatically assign a port. For example: `port_bindings={"2181/tcp": [{'HostIp': ''
'HostPort': ''}]}`.
`lxc_conf` allows to pass LXC configuration options in dict form.
`lxc_conf` allows to pass LXC configuration options using a dictionary in the form of Key Value pairs.
For example: `lxc_conf=[{"Key":"lxc.cgroup.cpu.shares","Value":"1"}, {"Key": ..., "Value": }]`.
* `c.stop(container, timeout=10)`
Stops a container. Similar to the `docker stop` command.