expose dns server on tcp as well as udp

issue was discovered when testing scope with master vs 1.0 branches.
This commit is contained in:
Paul Bellamy committed 2015-08-18 09:35:53 +01:00
1 parent aa19028583
commit b4e13215c7
1 file changed
+1 -1
+1 -1
View File
@@ -1079,7 +1079,7 @@ case "$COMMAND" in
# additional parameters, such as resource limits, to docker
# when launching the weave container.
DNS_CONTAINER=$(docker run --privileged -d --name=$DNS_CONTAINER_NAME \
-p $DOCKER_BRIDGE_IP:53:53/udp \
-p $DOCKER_BRIDGE_IP:53:53/udp -p $DOCKER_BRIDGE_IP:53:53/tcp \
-e WEAVE_CIDR=none \
-v /var/run/docker.sock:/var/run/docker.sock \
$WEAVEDNS_DOCKER_ARGS $DNS_IMAGE -iface $CONTAINER_IFNAME -httpiface "$DNS_HTTP_IFNAME" "$@")