I'm trying to complete this tutorial: https://appfleet.com/blog/sysdig-what-it-is-and-how-to-use-it/
I'm successfully running the docker image sysdig/sysdig. But when I'm on the root terminal inside the docker container and when I execute the command sysdig
, I get this error message:
Unable to load the driver
error opening device /host/dev/sysdig0. Make sure you have root credentials and that the sysdig-probe module is loaded.
When I run sysdig-probe-loader
I get this output:
Your kernel headers for kernel 5.4.72-microsoft-standard-WSL2 cannot be found at
/lib/modules/5.4.72-microsoft-standard-WSL2/build or /lib/modules/5.4.72-microsoft-standard-WSL2/source.
* Running dkms build failed, couldn't find /var/lib/dkms/sysdig/0.27.1/build/make.log
* Trying to load a system sysdig-probe, if present
* Trying to find precompiled sysdig-probe for 5.4.72-microsoft-standard-WSL2
Found kernel config at /proc/config.gz
* Trying to download precompiled module from https://download.sysdig.com/stable/sysdig-probe-binaries/sysdig-probe-0.27.1-x86_64-5.4.72-microsoft-standard-WSL2-39eb2dff69d9fac100efc320a22ccd72.ko
curl: (22) The requested URL returned error: 404
Any help on this would be greatly appreciated!
question from:
https://stackoverflow.com/questions/66066078/sysdig-in-docker-unable-to-load-the-driver 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…