Docker installation sysdig error: running DKMS build failed, could’t find / var / lib / DKMS / sysdig / 0.27.1/build/ make.log

Docker sysdig installation error:

According to the online https://www.cnblogs.com/lkun/p/7898900.html centos7 install docker monitoring – sysdig (solve installation errors) did not successfully solved
 
Then I saw this reply under Cloudman’s message:

 
1, his host host kernel upgrade, upgrade instructions: yum update – y kernel, using the uname -r see if upgrade success

2. Install yum -y kernel-devel-$(uname -r) to install the kernel header file in the host operating system
Sysdig command: sysdig command

docker container run -it --rm --name=sysdig --privileged=true  --volume=/var/run/docker.sock:/host/var/run/docker.sock  --volume=/dev:/host/dev  --volume=/proc:/host/proc:ro  --volume=/boot:/host/boot:ro  --volume=/lib/modules:/host/lib/modules:ro  --volume=/usr:/host/usr:ro  sysdig/sysdig

Input csysdig:

 

Read More: