From d991db5b45d15c36bd2d240943c7b03d71cf0d3e Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Mon, 13 Jun 2016 17:37:54 -0700 Subject: Expand on the 1-network limit in create_container Signed-off-by: Joffrey F --- docs/networks.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/networks.md b/docs/networks.md index df28a8e..ec45e1c 100644 --- a/docs/networks.md +++ b/docs/networks.md @@ -40,9 +40,12 @@ docker_client.create_network("network1", driver="bridge", internal=True) ## Container network configuration -In order to specify which network(s) a container will be connected to and +In order to specify which network a container will be connected to, and additional configuration, use the `networking_config` parameter in -`Client.create_container` +`Client.create_container`. Note that at the time of creation, you can +only connect a container to a single network. Later on, you may create more +connections using `Client.connect_container_to_network`. + ```python networking_config = docker_client.create_networking_config({ -- cgit v1.2.1