Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
442 views
in Technique[技术] by (71.8m points)

linux - Sysdig in Docker: Unable to load the driver

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...