cleaned up product names
This commit is contained in:
1 parent
7c65b6e3bb
commit
e2c8dba981
36 files changed
+176
-181
No files matched your search
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Using Automatic Discovery With the Weave Proxy
|
||||
title: Using Automatic Discovery With the Weave Net Proxy
|
||||
layout: default
|
||||
---
|
||||
|
||||
@@ -35,8 +35,7 @@ For example, you can launch the proxy using all three flags, as follows:
|
||||
(for example, `$1`). For further details on the regular expression syntax see
|
||||
[Google's re2 documentation](https://github.com/google/re2/wiki/Syntax).
|
||||
|
||||
After launching the Weave proxy with these flags, running a container named `aws-12798186823-foo` without labels results in
|
||||
weavedns registering the hostname `my-app-foo` and not `aws-12798186823-foo`.
|
||||
After launching the Weave Net proxy with these flags, running a container named `aws-12798186823-foo` without labels results in weavedns registering the hostname `my-app-foo` and not `aws-12798186823-foo`.
|
||||
|
||||
host1$ docker run -ti --name=aws-12798186823-foo ubuntu ping my-app-foo
|
||||
PING my-app-foo.weave.local (10.32.0.2) 56(84) bytes of data.
|
||||
|
||||
@@ -4,13 +4,13 @@ layout: default
|
||||
---
|
||||
|
||||
|
||||
If [automatic IP address allocation](/site/ipam/overview-init-ipam.md) is enabled in Weave (by default IPAM is enabled),
|
||||
If [automatic IP address allocation](/site/ipam/overview-init-ipam.md) is enabled in Weave Net (by default IPAM is enabled),
|
||||
then containers started via the proxy are automatically assigned an IP address, *without having to specify any
|
||||
special environment variables or any other options*.
|
||||
|
||||
host1$ docker run -ti ubuntu
|
||||
|
||||
To use a specific subnet, we pass a `WEAVE_CIDR` to the container, e.g.
|
||||
To use a specific subnet, you can pass a `WEAVE_CIDR` to the container, for example:
|
||||
|
||||
host1$ docker run -ti -e WEAVE_CIDR=net:10.32.2.0/24 ubuntu
|
||||
|
||||
@@ -27,7 +27,7 @@ be passed the `--no-default-ipalloc` flag, for example:
|
||||
|
||||
host1$ weave launch-proxy --no-default-ipalloc
|
||||
|
||||
In this configuration, containers with no `WEAVE_CIDR` environment
|
||||
In this configuration, containers using no `WEAVE_CIDR` environment
|
||||
variable are not connected to the Weave network.
|
||||
|
||||
Containers started with a `WEAVE_CIDR` environment variable are handled as before.
|
||||
|
||||
@@ -4,19 +4,19 @@ layout: default
|
||||
---
|
||||
|
||||
|
||||
When starting Weave-enabled containers, the proxy automatically
|
||||
When starting Weave Net enabled containers, the proxy automatically
|
||||
replaces the container's `/etc/hosts` file, and disables Docker's control
|
||||
over it. The new file contains an entry for the container's hostname
|
||||
and Weave IP address, as well as additional entries that have been
|
||||
and Weave Net IP address, as well as additional entries that have been
|
||||
specified using the `--add-host` parameters.
|
||||
|
||||
This ensures that:
|
||||
|
||||
- name resolution of the container's hostname, for example, via `hostname -i`,
|
||||
returns the Weave IP address. This is required for many cluster-aware
|
||||
returns the Weave Net IP address. This is required for many cluster-aware
|
||||
applications to work.
|
||||
- unqualified names get resolved via DNS, for example typically via weavedns
|
||||
to Weave IP addresses. This is required so that in a typical setup
|
||||
to Weave Net IP addresses. This is required so that in a typical setup
|
||||
one can simply "ping <container-name>", i.e. without having to
|
||||
specify a `.weave.local` suffix.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Setting Up The Weave Docker API Proxy
|
||||
title: Setting Up The Weave Net Docker API Proxy
|
||||
layout: default
|
||||
---
|
||||
|
||||
@@ -11,7 +11,7 @@ or the [remote API](https://docs.docker.com/reference/api/docker_remote_api/),
|
||||
instead of `weave run`.
|
||||
|
||||
|
||||
###Setting Up The Weave Docker API Proxy
|
||||
###Setting Up The Weave Net Docker API Proxy
|
||||
|
||||
The proxy sits between the Docker client (command line or API) and the
|
||||
Docker daemon, and intercepts the communication between the two. You can
|
||||
@@ -44,7 +44,7 @@ remote docker daemon, then any firewalls inbetween need to be
|
||||
configured to permit access to the proxy port.
|
||||
|
||||
All docker commands can be run via the proxy, so it is safe to adjust
|
||||
your `DOCKER_HOST` to point at the proxy. Weave provides a convenient
|
||||
your `DOCKER_HOST` to point at the proxy. Weave Net provides a convenient
|
||||
command for this:
|
||||
|
||||
host1$ eval $(weave env)
|
||||
|
||||
@@ -7,7 +7,7 @@ The command
|
||||
|
||||
weave status
|
||||
|
||||
reports on the current status of various weave components, including
|
||||
reports on the current status of various Weave Net components, including
|
||||
the proxy, if it is running:
|
||||
|
||||
````
|
||||
|
||||
@@ -4,17 +4,17 @@ layout: default
|
||||
---
|
||||
|
||||
|
||||
When containers are created via the Weave proxy, their entrypoint is
|
||||
When containers are created via the Weave Net proxy, their entrypoint is
|
||||
modified to wait for the Weave network interface to become
|
||||
available.
|
||||
|
||||
When they are started via the Weave proxy, containers are
|
||||
When they are started via the Weave Net proxy, containers are
|
||||
[automatically assigned IP addresses](/site/ipam/overview-init-ipam.md) and connected to the
|
||||
Weave network.
|
||||
|
||||
###Creating and Starting Containers with the Weave Proxy
|
||||
###Creating and Starting Containers with the Weave Net Proxy
|
||||
|
||||
To create and start a container via the Weave proxy run:
|
||||
To create and start a container via the Weave Net proxy run:
|
||||
|
||||
host1$ docker run -ti ubuntu
|
||||
|
||||
@@ -41,8 +41,8 @@ IPPrefixLen), are still returned when `docker inspect` is run. If you want
|
||||
`docker inspect` to return the Weave NetworkSettings instead, then the
|
||||
proxy must be launched using the `--rewrite-inspect` flag.
|
||||
|
||||
This command substitutes the Weave Network settings when the container has a
|
||||
Weave IP. If a container has more than one Weave IP, then the inspect call
|
||||
This command substitutes the Weave network settings when the container has a
|
||||
Weave Net IP. If a container has more than one Weave Net IP, then the inspect call
|
||||
only includes one of them.
|
||||
|
||||
host1$ weave launch-router && weave launch-proxy --rewrite-inspect
|
||||
@@ -51,7 +51,7 @@ only includes one of them.
|
||||
###Multicast Traffic and Launching the Weave Proxy
|
||||
|
||||
By default, multicast traffic is routed over the Weave network.
|
||||
To turn this off, e.g. because you want to configure your own multicast
|
||||
To turn this off, for example, because you want to configure your own multicast
|
||||
route, add the `--no-multicast-route` flag to `weave launch-proxy`.
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user