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.
This commit is contained in:
Michael Bridgen committed 2015-03-19 10:15:06 +00:00
1 parent 9fd468d743
commit 84ce0663f8
1 file changed
+4 -4
+4 -4
View File
@@ -54,10 +54,10 @@ exec_remote() {
docker run -t --rm \ docker run -t --rm \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v "$PROCFS":/hostproc \ -v "$PROCFS":/hostproc \
-e VERSION="$VERSION" \ -e VERSION \
-e WEAVE_DOCKER_ARGS="$WEAVE_DOCKER_ARGS" \ -e WEAVE_DOCKER_ARGS \
-e WEAVE_PASSWORD="$WEAVE_PASSWORD" \ -e WEAVE_PASSWORD \
-e DOCKER_BRIDGE="$DOCKER_BRIDGE" \ -e DOCKER_BRIDGE \
-e PROCFS=/hostproc --privileged --net=host \ -e PROCFS=/hostproc --privileged --net=host \
$EXEC_IMAGE --local "$@" $EXEC_IMAGE --local "$@"
} }