This commit is contained in:
Matthias Radestock committed 2014-11-06 22:17:49 +00:00
1 parent 0fb8d3d054
commit f7c1c2a1e0
1 file changed
+3 -3
+3 -3
View File
@@ -15,8 +15,8 @@ will register it in DNS. For example:
```bash
$ weave launch
$ weave launch-dns 10.1.0.2/16
$ weave run 10.1.1.25/24 -ti -h pingme.weave.local ubuntu /bin/bash
$ shell1=$(weave run 10.1.1.26/24 -ti -h ubuntu.weave.local ubuntu /bin/bash)
$ weave run 10.1.1.25/24 -ti -h pingme.weave.local ubuntu
$ shell1=$(weave run 10.1.1.26/24 -ti -h ubuntu.weave.local ubuntu)
$ docker attach $shell1
# ping pingme.weave.local
@@ -42,7 +42,7 @@ make it use weaveDNS:
```bash
$ dns_ip=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' weavedns)
$ shell2=$(docker run --dns=$dns_ip -ti ubuntu /bin/bash)
$ shell2=$(docker run --dns=$dns_ip -ti ubuntu)
$ weave attach 10.1.1.27/24 $shell2
```