[proxy] add --rewrite-inspect flag

To return the weave ip/mac for docker inspect calls.
This commit is contained in:
Paul Bellamy authored and Matthias Radestock committed 2015-09-04 13:40:06 +01:00
1 parent 145a527626
commit e21a204eed
8 files changed
+174 -3

No files matched your search

+6
View File
@@ -104,6 +104,12 @@ Multiple IP addresses and networks can be supplied in the `WEAVE_CIDR`
variable by space-separating them, as in
`WEAVE_CIDR="10.2.1.1/24 10.2.2.1/24"`.
The docker IP will still be returned by `docker inspect`. If you want
`docker inspect` to return the weave IP instead, then the proxy must
be launced with the `--rewrite-inspect` flag.
host1$ weave launch-router && weave launch-proxy --rewrite-inspect
## <a name="ipam"></a>Automatic IP address assignment
If [automatic IP address assignment](ipam.html) is enabled in weave,