diff --git a/docker/run-probe b/docker/run-probe index 23251387a0..fc9ec1bbbb 100755 --- a/docker/run-probe +++ b/docker/run-probe @@ -1,3 +1,3 @@ #!/bin/sh -exec /home/weave/probe -proc.root=/hostproc +exec /home/weave/probe diff --git a/scope b/scope index 83644ca43a..4333be4c9e 100755 --- a/scope +++ b/scope @@ -128,8 +128,7 @@ case "$COMMAND" in WEAVESCOPE_DNS_ARGS="--dns $DOCKER_BRIDGE_IP --searchpath $DOMAINNAME" fi - CONTAINER=$(docker run --privileged -d --name=$CONTAINER_NAME --net=host \ - -v /proc:/hostproc \ + CONTAINER=$(docker run --privileged -d --name=$CONTAINER_NAME --net=host --pid=host \ -v /var/run/docker.sock:/var/run/docker.sock \ $WEAVESCOPE_DOCKER_ARGS $SCOPE_IMAGE $WEAVESCOPE_DNS_ARGS "$@")