Review feedback.

This commit is contained in:
Tom Wilkie
2016-02-04 15:48:17 +00:00
parent 76080c16ed
commit 34ca87c98e
4 changed files with 10 additions and 7 deletions

6
scope
View File

@@ -90,9 +90,13 @@ check_not_running() {
}
launch_command() {
local args="-v /etc/weave:/etc/weave"
if (set +u; [ -n "$CHECKPOINT_DISABLE" ]); then
args=
fi
echo docker run --privileged -d --name=$SCOPE_CONTAINER_NAME --net=host --pid=host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/weave:/etc/weave \
$args \
-e CHECKPOINT_DISABLE \
$WEAVESCOPE_DOCKER_ARGS $SCOPE_IMAGE --probe.docker true "$@"
}