weaveworks-experiments / docker-plugin

Deprecated, part of Weave Net now
https://github.com/weaveworks/weave
Apache License 2.0
33 stars 9 forks source link

Creating more than one network #15

Open squaremo opened 9 years ago

squaremo commented 9 years ago

Weave's IPAM supports only one subnet at present, which means (assuming IPAM is the only kind of co-ordination) that the weave plugin can have only one network. So this will have wait for IPAM to be able to allocate subnets, and support allocating IPs from a specific subnet.

squaremo commented 9 years ago

So this will have wait for IPAM to be able to allocate subnets, and support allocating IPs from a specific subnet.

This requirement is encoded as the "symbolic names" variety of https://github.com/weaveworks/weave/issues/676

awh commented 8 years ago

Given the above we cannot make progress on this issue until such time as Docker allow us to create global drivers without requiring a kv store.

squaremo commented 8 years ago

When the plugin is deployed as a global driver, we get multiple network support by virtue of using Docker's default IPAM.

Specifically: Docker's default IPAM will allocate a fresh, distinct subnet for each network, and that means that even if weave does nothing on network creation, the containers on each network will be in a subnet together.