Merge pull request #1210 from weaveworks/401-proxy-start-events

make proxy attach network on docker start event
This commit is contained in:
Paul Bellamy committed 2015-09-15 10:18:48 +01:00
commit e39974eb07
8 files changed
+171 -43

No files matched your search

+7
View File
@@ -64,6 +64,10 @@ or
[remote API](https://docs.docker.com/reference/api/docker_remote_api/)
are attached to the weave network before they begin execution.
Containers started in this way that subsequently restart, either by an
explicit `docker restart` command or by Docker restart policy, are
re-attached to the weave network by the weave Docker API proxy.
### <a name="addressing"></a>Address allocation
Containers are automatically allocated an IP address that is unique
@@ -248,6 +252,9 @@ invocation:
host1$ weave detach net:default net:10.2.2.0/24 net:10.2.3.0/24 $C
10.2.1.3 10.2.2.3 10.2.3.1
Note that addresses added by dynamic attachment are not re-attached
if the container restarts.
### <a name="security"></a>Security
In order to connect containers across untrusted networks, weave peers