From f7c1c2a1e05b6cae8fe0a9ce5a2fa3035141c28c Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 6 Nov 2014 22:17:49 +0000 Subject: [PATCH] simplify --- weavedns/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weavedns/README.md b/weavedns/README.md index 60816353..4ee5b428 100644 --- a/weavedns/README.md +++ b/weavedns/README.md @@ -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 ```