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 ```