Remove /var/run mount from exec_remote. Proxy uses /var/run/weave/weave.sock

It was left in for backwards compatibility, in 1.1.
This commit is contained in:
Paul Bellamy committed 2015-10-01 15:52:29 +01:00
1 parent a3484cce43
commit 827ba446ab
3 files changed
+5 -7

No files matched your search

+1 -3
View File
@@ -96,7 +96,7 @@ usage() {
exec_remote() {
docker $DOCKER_CLIENT_ARGS run --rm --privileged --net=host \
-v /var/run:/var/run \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /proc:/hostproc \
-e PROCFS=/hostproc \
-e DOCKERHUB_USER="$DOCKERHUB_USER" \
@@ -1213,8 +1213,6 @@ launch_proxy() {
--entrypoint=/home/weave/weaveproxy \
$WEAVEPROXY_DOCKER_ARGS $EXEC_IMAGE $COVERAGE_ARGS $PROXY_ARGS)
wait_for_status $PROXY_CONTAINER_NAME http_call_unix $PROXY_CONTAINER_NAME status.sock
# backward compatibility
ln -sf -T /var/run/weave/weave.sock /var/run/weave.sock
}
##########################################################################################