From ec29c2c7765b88f5c417ecc0614fe9aea1330585 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 23 Apr 2015 08:04:12 +0100 Subject: [PATCH] cosmetic --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 72a1eda2..575aa4f0 100755 --- a/weave +++ b/weave @@ -42,9 +42,10 @@ usage() { } exec_remote() { - docker run --rm \ + docker run --rm --privileged --net=host \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "$PROCFS":/hostproc \ + -e PROCFS=/hostproc \ -e VERSION \ -e WEAVE_DOCKER_ARGS \ -e WEAVEDNS_DOCKER_ARGS \ @@ -52,7 +53,6 @@ exec_remote() { -e WEAVE_PORT \ -e WEAVE_CONTAINER_NAME \ -e DOCKER_BRIDGE \ - -e PROCFS=/hostproc --privileged --net=host \ $EXEC_IMAGE --local "$@" }