From 84ce0663f8ab6116cce1865e2cb9e735191d68cb Mon Sep 17 00:00:00 2001 From: Michael Bridgen Date: Fri, 27 Feb 2015 17:53:05 +0000 Subject: [PATCH] Don't show env entries in command The form of `docker -e` without an equals sign passes them along from the environment without the value appearing in the command. --- weave | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weave b/weave index 64b388c9..fc2a660e 100755 --- a/weave +++ b/weave @@ -54,10 +54,10 @@ exec_remote() { docker run -t --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "$PROCFS":/hostproc \ - -e VERSION="$VERSION" \ - -e WEAVE_DOCKER_ARGS="$WEAVE_DOCKER_ARGS" \ - -e WEAVE_PASSWORD="$WEAVE_PASSWORD" \ - -e DOCKER_BRIDGE="$DOCKER_BRIDGE" \ + -e VERSION \ + -e WEAVE_DOCKER_ARGS \ + -e WEAVE_PASSWORD \ + -e DOCKER_BRIDGE \ -e PROCFS=/hostproc --privileged --net=host \ $EXEC_IMAGE --local "$@" }