How can the RancherOS kernel headers be installed?

To compile the required kernel module for the Sysdig Monitor agent, your host needs to have its kernel development headers installed. For RancherOS, the kernel headers are available in the form of a system service.

Since the kernel headers are a system-service, they need to be enabled using the ros service command.

sudo ros service enable kernel-headers-system-docker 
sudo ros service up -d kernel-headers-system-docker

You can then install agent as normal.


Reference: http://docs.rancher.com/os/configuration/kernel-modules-kernel-headers/

Have more questions? Submit a request