Is it possible to run Intel PCM (Performance Counter Monitor) on one Docker container?!


I am trying to run intel pcm one my container to monitor my application, however, I am facing following error from the intel pcm application. I am suspicious if it is possible to run such an application on one container!

I appreciate your advice.

Message from Intel PCM tool:

Can not access CPUs Model Specific Registers (MSRs).
Try to execute ‘modprobe msr’ as root user and then
you also must have read and write permissions for /dev/cpu//msr devices (/dev/msr for Android). The ‘chown’ command can help.
Access to Intel® Performance Counter Monitor has denied (no MSR or PCI CFG space access).

Did you ever figure this out? I have exactly the same problem.


It is possible if you specify --privileged flag: