"Clarifying" proxy --rewrite-inspect documentation
This commit is contained in:
1 parent
19ceb424c3
commit
11b655154c
1 file changed
+7
-3
+7
-3
@@ -104,9 +104,13 @@ Multiple IP addresses and networks can be supplied in the `WEAVE_CIDR`
|
|||||||
variable by space-separating them, as in
|
variable by space-separating them, as in
|
||||||
`WEAVE_CIDR="10.2.1.1/24 10.2.2.1/24"`.
|
`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
|
The docker NetworkSettings (including IP address, MacAddress, and
|
||||||
`docker inspect` to return the weave IP instead, then the proxy must
|
IPPrefixLen), will still be returned by `docker inspect`. If you want
|
||||||
be launced with the `--rewrite-inspect` flag.
|
`docker inspect` to return the weave NetworkSettings instead, then the
|
||||||
|
proxy must be launced with the `--rewrite-inspect` flag. This will
|
||||||
|
only substitute in the weave network settings when the container has a
|
||||||
|
weave IP. If a container has more than one weave IP, the inspect call
|
||||||
|
will only include one of them.
|
||||||
|
|
||||||
host1$ weave launch-router && weave launch-proxy --rewrite-inspect
|
host1$ weave launch-router && weave launch-proxy --rewrite-inspect
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user