mount system paths into container

This commit is contained in:
Lorenzo Manacorda
2016-09-20 09:58:54 +02:00
parent 10472fb4be
commit fcc07b2256

3
scope
View File

@@ -142,6 +142,9 @@ launch_command() {
echo docker run --privileged -d --name=$SCOPE_CONTAINER_NAME --net=host --pid=host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/scope/plugins:/var/run/scope/plugins \
-v /usr/src:/usr/src \
-v /lib/modules:/lib/modules \
-v /sys/kernel/debug:/sys/kernel/debug \
-e CHECKPOINT_DISABLE \
$WEAVESCOPE_DOCKER_ARGS $SCOPE_IMAGE --probe.docker=true "$@"
}