Eliminate references to proxy and weaveDNS

This commit is contained in:
Adam Harrison committed 2015-06-25 15:42:06 +01:00
1 parent b78d4f05d0
commit 99dc70ea7a
1 file changed
+7 -11
+7 -11
View File
@@ -64,15 +64,12 @@ First start weave on $HOST1:
host1$ weave launch host1$ weave launch
this runs the weave router, DNS and proxy, each in their own Next we configure our environment so that containers launched via the
container. Next we configure our `DOCKER_HOST` environment variable to docker command line are automatically attached to the weave network:
point to the proxy, so that containers launched via the docker command
line are automatically attached to the weave network:
host1$ eval $(weave proxy-env) host1$ eval $(weave proxy-env)
Finally we run our application container; this happens via the proxy Finally we run our application container:
so it is automatically allocated an IP address and registered in DNS:
host1$ docker run --name a1 -ti ubuntu host1$ docker run --name a1 -ti ubuntu
@@ -100,11 +97,10 @@ 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 Weave must be started once per host. The relevant container images are
relevant container images are pulled down on demand, but if you wish pulled down on demand, but if you wish you can preload them by running
you can preload them by running `weave setup` - this is particularly `weave setup` - this is particularly useful for automated deployments,
useful for automated deployments, and ensures that there are no delays and ensures that there are no delays during later operations.
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...