Update documentation
This commit is contained in:
1 parent
08f3d5b8e8
commit
a9e3320e7c
3 files changed
+32
-11
No files matched your search
+13
-4
@@ -23,11 +23,18 @@ instead of `weave run`.
|
||||
## <a name="setup"></a>Setup
|
||||
|
||||
The proxy sits between the Docker client (command line or API) and the
|
||||
Docker daemon, intercepting the communication between the two.
|
||||
Docker daemon, intercepting the communication between the two. You can
|
||||
start it simultaneously with the router and weaveDNS via `launch`:
|
||||
|
||||
To start the proxy, run
|
||||
host1$ weave launch
|
||||
|
||||
host1$ weave launch-proxy
|
||||
or independently via `launch-proxy`:
|
||||
|
||||
host1$ weave launch-router && weave launch-dns && weave launch-proxy
|
||||
|
||||
The first form is more convenient, however you can only pass proxy
|
||||
related configuration arguments to `launch-proxy` so if you need to
|
||||
modify the default behaviour you will have to use the latter.
|
||||
|
||||
By default, the proxy listens on port 12375, on all network
|
||||
interfaces. This can be adjusted with the `-H` argument, e.g.
|
||||
@@ -49,10 +56,12 @@ Alternatively, the proxy host can be set on a per-command basis with
|
||||
|
||||
host1$ docker $(weave proxy-config) ps
|
||||
|
||||
The proxy can be stopped with
|
||||
The proxy can be stopped independently with
|
||||
|
||||
host1$ weave stop-proxy
|
||||
|
||||
or in conjunction with the router and weaveDNS via `stop`.
|
||||
|
||||
If you set your `DOCKER_HOST` to point at the proxy, remember to
|
||||
revert to the original setting.
|
||||
|
||||
|
||||
Reference in new issue
Block a user