mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Review feedback.
This commit is contained in:
6
scope
6
scope
@@ -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 "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user