sysdig
sysdig copied to clipboard
Docker image did not work
Hi,
When I try to run the sysdig container with following command:
docker run -it --rm sysdig/sysdig
I will get following errors:
➜ hbliu_common git:(master) docker run -it --rm sysdig/sysdig
* Setting up /usr/src links from host
ls: cannot access '/host/usr/src': No such file or directory
* Unloading sysdig-probe, if present
rmmod: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.9.49-moby/modules.builtin.bin'
rmmod: ERROR: Module sysdig_probe is not currently loaded
* Running dkms install for sysdig
Error! echo
Your kernel headers for kernel 4.9.49-moby cannot be found at
/lib/modules/4.9.49-moby/build or /lib/modules/4.9.49-moby/source.
* Trying to load a system sysdig-probe, if present
* Trying to find precompiled sysdig-probe for 4.9.49-moby
Found kernel config at /proc/config.gz
* Trying to download precompiled module from https://s3.amazonaws.com/download.draios.com/stable/sysdig-probe-binaries/sysdig-probe-0.21.0-x86_64-4.9.49-moby-9e54580c20bda47f42b066870a17c684.ko
Download failed, consider compiling your own sysdig-probe and loading it or getting in touch with the sysdig community
root@5feab7bce310:/#
Following is the image info:
➜ hbliu_common git:(master) docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
sysdig/sysdig latest 5f4cfa064ab5 2 months ago 351MB
Im also getting this issue.
You need to specify mounts for the host OS as specified in the docs.