From fcc07b2256ff41310f1a5d5ec3f3e1d2fe3182e3 Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Tue, 20 Sep 2016 09:58:54 +0200 Subject: [PATCH] mount system paths into container --- scope | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scope b/scope index 62d43a0f1..bb6263906 100755 --- a/scope +++ b/scope @@ -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 "$@" }