extract startup of container with dns
There is now just one mention of the aanand/docker-dnsutils image; in config.sh.
This commit is contained in:
1 parent
8261c7f782
commit
4e7ddedf75
8 files changed
+20
-14
No files matched your search
@@ -94,6 +94,12 @@ start_container() {
|
||||
weave_on $host run $@ -t gliderlabs/alpine /bin/sh
|
||||
}
|
||||
|
||||
start_container_with_dns() {
|
||||
host=$1
|
||||
shift 1
|
||||
weave_on $host run --with-dns $@ -t aanand/docker-dnsutils /bin/sh
|
||||
}
|
||||
|
||||
container_ip() {
|
||||
weave_on $1 ps $2 | grep -o -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user