introduce 'Proxy' as 'Docker API Proxy'
in order to reduce potential confusion about its role. Closes #1019.
This commit is contained in:
1 parent
0f5f671054
commit
7d5dcfafc9
5 files changed
+20
-17
No files matched your search
@@ -56,10 +56,10 @@ First start weave on $HOST1:
|
|||||||
|
|
||||||
host1$ weave launch && weave launch-dns && weave launch-proxy
|
host1$ weave launch && weave launch-dns && weave launch-proxy
|
||||||
|
|
||||||
this runs the weave router, DNS and proxy, each in their own
|
this runs the weave router, DNS and Docker API proxy, each in their
|
||||||
container. Next we configure our `DOCKER_HOST` environment variable to
|
own container. Next we configure our `DOCKER_HOST` environment
|
||||||
point to the proxy, so that containers launched via the docker command
|
variable to point to the proxy, so that containers launched via the
|
||||||
line are automatically attached to the weave network:
|
docker command line are automatically attached to the weave network:
|
||||||
|
|
||||||
host1$ eval $(weave proxy-env)
|
host1$ eval $(weave proxy-env)
|
||||||
|
|
||||||
@@ -92,11 +92,11 @@ available. Also, we can tell weave to connect to multiple peers by
|
|||||||
supplying multiple addresses, separated by spaces. And we can
|
supplying multiple addresses, separated by spaces. And we can
|
||||||
[add peers dynamically](http://docs.weave.works/weave/latest_release/features.html#dynamic-topologies).
|
[add peers dynamically](http://docs.weave.works/weave/latest_release/features.html#dynamic-topologies).
|
||||||
|
|
||||||
The router, DNS and proxy need to be started once per host. The
|
The router, DNS and Docker API proxy need to be started once per
|
||||||
relevant container images are pulled down on demand, but if you wish
|
host. The relevant container images are pulled down on demand, but if
|
||||||
you can preload them by running `weave setup` - this is particularly
|
you wish you can preload them by running `weave setup` - this is
|
||||||
useful for automated deployments, and ensures that there are no delays
|
particularly useful for automated deployments, and ensures that there
|
||||||
during later operations.
|
are no delays during later operations.
|
||||||
|
|
||||||
Now that we've got everything set up, let's see whether our containers
|
Now that we've got everything set up, let's see whether our containers
|
||||||
can talk to each other...
|
can talk to each other...
|
||||||
|
|||||||
+4
-2
@@ -57,8 +57,10 @@ our data centre.
|
|||||||
|
|
||||||
### <a name="docker"></a>Seamless Docker integration
|
### <a name="docker"></a>Seamless Docker integration
|
||||||
|
|
||||||
Weave includes a [proxy](proxy.html) so that containers launched via
|
Weave includes a [Docker API proxy](proxy.html) so that containers
|
||||||
the Docker [command-line interface](https://docs.docker.com/reference/commandline/cli/) or
|
launched via the Docker
|
||||||
|
[command-line interface](https://docs.docker.com/reference/commandline/cli/)
|
||||||
|
or
|
||||||
[remote API](https://docs.docker.com/reference/api/docker_remote_api/)
|
[remote API](https://docs.docker.com/reference/api/docker_remote_api/)
|
||||||
are attached to the weave network before they begin execution.
|
are attached to the weave network before they begin execution.
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,9 @@ encrypted, which carry encapsulated network packets. These
|
|||||||
|
|
||||||
Weave creates a network bridge on the host. Each container is
|
Weave creates a network bridge on the host. Each container is
|
||||||
connected to that bridge via a veth pair, the container side of which
|
connected to that bridge via a veth pair, the container side of which
|
||||||
is given the IP address & netmask supplied by the proxy. Also
|
is given an IP address & netmask supplied either by the user or
|
||||||
connected to the bridge is the weave router container.
|
Weave's IP address allocator. Also connected to the bridge is the
|
||||||
|
weave router container.
|
||||||
|
|
||||||
A weave router captures Ethernet packets from its bridge-connected
|
A weave router captures Ethernet packets from its bridge-connected
|
||||||
interface in promiscuous mode, using 'pcap'. This typically excludes
|
interface in promiscuous mode, using 'pcap'. This typically excludes
|
||||||
|
|||||||
+3
-3
@@ -3,10 +3,10 @@ title: Weave Proxy
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
# Weave Proxy
|
# Weave Docker API Proxy
|
||||||
|
|
||||||
The proxy automatically attaches containers to the weave network when
|
The Docker API proxy automatically attaches containers to the weave
|
||||||
they are started using the ordinary Docker
|
network when they are started using the ordinary Docker
|
||||||
[command-line interface](https://docs.docker.com/reference/commandline/cli/)
|
[command-line interface](https://docs.docker.com/reference/commandline/cli/)
|
||||||
or
|
or
|
||||||
[remote API](https://docs.docker.com/reference/api/docker_remote_api/),
|
[remote API](https://docs.docker.com/reference/api/docker_remote_api/),
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ is waiting for a while before connecting again.
|
|||||||
There may also be further sections for the
|
There may also be further sections for the
|
||||||
[IP address allocator](ipam.html#troubleshooting),
|
[IP address allocator](ipam.html#troubleshooting),
|
||||||
[weaveDNS](weavedns.html#troubleshooting), and
|
[weaveDNS](weavedns.html#troubleshooting), and
|
||||||
[proxy](proxy.html#troubleshooting).
|
[Weave Docker API Proxy](proxy.html#troubleshooting).
|
||||||
|
|
||||||
### <a name="list-attached-containers"></a>List attached containers
|
### <a name="list-attached-containers"></a>List attached containers
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user