Skip to content

Commit 488e14c

Browse files
author
Philipp Moeller
committed
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
1 parent f044b5e commit 488e14c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/hostconfig.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ for example:
6666

6767
**Params**
6868

69-
* container (str): The container to start
7069
* binds: Volumes to bind. See [Using volumes](volumes.md) for more information.
7170
* port_bindings (dict): Port bindings. See [Port bindings](port-bindings.md)
7271
for more information.
@@ -99,4 +98,4 @@ for example:
9998
>>> from docker.utils import create_host_config
10099
>>> create_host_config(privileged=True, cap_drop=['MKNOD'], volumes_from=['nostalgic_newton'])
101100
{'CapDrop': ['MKNOD'], 'LxcConf': None, 'Privileged': True, 'VolumesFrom': ['nostalgic_newton'], 'PublishAllPorts': False}
102-
```
101+
```

0 commit comments

Comments
 (0)