diff options
author | Joffrey F <joffrey@docker.com> | 2016-06-13 17:37:54 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2016-06-13 17:58:10 -0700 |
commit | d991db5b45d15c36bd2d240943c7b03d71cf0d3e (patch) | |
tree | 0f8b704d1cb8ed84cdd2f8f93a6b00b216623fff | |
parent | fc4bfde0d68c8d3106bdab707fb780b6aa8501bf (diff) | |
download | docker-py-d991db5b45d15c36bd2d240943c7b03d71cf0d3e.tar.gz |
Expand on the 1-network limit in create_container1042-ip-networking-config
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r-- | docs/networks.md | 7 |
1 files 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({ |