mirror of https://github.com/docker/docker-py.git
Remove non-existing argument
There is no container argument in create_container_config. This is probably a leftover when this was copied from the Client.start documentation
This commit is contained in:
parent
f044b5e3f7
commit
488e14c560
|
@ -66,7 +66,6 @@ for example:
|
|||
|
||||
**Params**
|
||||
|
||||
* container (str): The container to start
|
||||
* binds: Volumes to bind. See [Using volumes](volumes.md) for more information.
|
||||
* port_bindings (dict): Port bindings. See [Port bindings](port-bindings.md)
|
||||
for more information.
|
||||
|
@ -99,4 +98,4 @@ for example:
|
|||
>>> from docker.utils import create_host_config
|
||||
>>> create_host_config(privileged=True, cap_drop=['MKNOD'], volumes_from=['nostalgic_newton'])
|
||||
{'CapDrop': ['MKNOD'], 'LxcConf': None, 'Privileged': True, 'VolumesFrom': ['nostalgic_newton'], 'PublishAllPorts': False}
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue