Kaydet (Commit) 488e14c5 authored tarafından Philipp Moeller's avatar Philipp Moeller

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
üst f044b5e3
...@@ -66,7 +66,6 @@ for example: ...@@ -66,7 +66,6 @@ for example:
**Params** **Params**
* container (str): The container to start
* binds: Volumes to bind. See [Using volumes](volumes.md) for more information. * binds: Volumes to bind. See [Using volumes](volumes.md) for more information.
* port_bindings (dict): Port bindings. See [Port bindings](port-bindings.md) * port_bindings (dict): Port bindings. See [Port bindings](port-bindings.md)
for more information. for more information.
...@@ -99,4 +98,4 @@ for example: ...@@ -99,4 +98,4 @@ for example:
>>> from docker.utils import create_host_config >>> from docker.utils import create_host_config
>>> create_host_config(privileged=True, cap_drop=['MKNOD'], volumes_from=['nostalgic_newton']) >>> create_host_config(privileged=True, cap_drop=['MKNOD'], volumes_from=['nostalgic_newton'])
{'CapDrop': ['MKNOD'], 'LxcConf': None, 'Privileged': True, 'VolumesFrom': ['nostalgic_newton'], 'PublishAllPorts': False} {'CapDrop': ['MKNOD'], 'LxcConf': None, 'Privileged': True, 'VolumesFrom': ['nostalgic_newton'], 'PublishAllPorts': False}
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment