consistent docker run parameter order

This commit is contained in:
Matthias Radestock committed 2015-05-16 20:37:16 +01:00
1 parent 822cab7750
commit 535a6ae199
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ weave_on $HOST1 launch-dns 10.2.254.1/24 -debug
weave_on $HOST2 launch-dns 10.2.254.2/24 -debug
weave_on $HOST2 run $C2/24 -t --name=c2 -h $NAME gliderlabs/alpine /bin/sh
weave_on $HOST1 run --with-dns $C1/24 --name=c1 -t aanand/docker-dnsutils /bin/sh
weave_on $HOST1 run --with-dns $C1/24 -t --name=c1 aanand/docker-dnsutils /bin/sh
assert_dns_record $HOST1 c1 $NAME $C2
+1 -1
View File
@@ -14,7 +14,7 @@ weave_on $HOST1 launch-dns 10.2.254.1/24
weave_on $HOST2 launch-dns 10.2.254.2/24
weave_on $HOST2 run -t --name=c2 -h $NAME gliderlabs/alpine /bin/sh
weave_on $HOST1 run --with-dns --name=c1 -t aanand/docker-dnsutils /bin/sh
weave_on $HOST1 run --with-dns -t --name=c1 aanand/docker-dnsutils /bin/sh
C2=$(container_ip $HOST2 c2)
assert_dns_record $HOST1 c1 $NAME $C2
+1 -1
View File
@@ -6,7 +6,7 @@ start_suite "Resolve a non-weave address"
weave_on $HOST1 launch-dns 10.2.254.1/24 -debug
weave_on $HOST1 run --with-dns 10.2.1.5/24 --name=c1 -t aanand/docker-dnsutils /bin/sh
weave_on $HOST1 run --with-dns 10.2.1.5/24 -t --name=c1 aanand/docker-dnsutils /bin/sh
assert_raises "exec_on $HOST1 c1 host -t mx weave.works | grep google"
assert_raises "exec_on $HOST1 c1 getent hosts 8.8.8.8 | grep google"