Skip to content

Commit d991db5

Browse files
committed
Expand on the 1-network limit in create_container
Signed-off-by: Joffrey F <[email protected]>
1 parent fc4bfde commit d991db5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/networks.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ docker_client.create_network("network1", driver="bridge", internal=True)
4040

4141
## Container network configuration
4242

43-
In order to specify which network(s) a container will be connected to and
43+
In order to specify which network a container will be connected to, and
4444
additional configuration, use the `networking_config` parameter in
45-
`Client.create_container`
45+
`Client.create_container`. Note that at the time of creation, you can
46+
only connect a container to a single network. Later on, you may create more
47+
connections using `Client.connect_container_to_network`.
48+
4649

4750
```python
4851
networking_config = docker_client.create_networking_config({

0 commit comments

Comments
 (0)