-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run usbtop in a Docker #33
Comments
Why you need to monitor REAL hardware parameters from pseudo virtualization? |
The reason I am using Docker is to package my code without easily without affecting the host system. However, the Docker being deployed has
which does let me monitor devices and interact with kernel modules. Because the Docker has programs that interact with devices on the USB bus I would like to monitor the CPU usage? Is that so unreasonable? This isn't unheard of practice? What do you mean by remote access? It's on the same host? |
You want to act as some virus over kernel. |
While that is true it also can access real devices on the system. Even virtualization can need to know the USB Bus bandwidth if it is accessing data on the USB bus and interacting with devices on it. |
I am also interested in learning how to run usbtop from docker. So far I have this Dockerfile:
But I get the error: "No USB bus can be captured thanks to libpcap. Check your name filter and make sure relevent permissions are set !" If I try to run modprobe like this:
Then I get the error: "modprobe: FATAL: Module usbmon not found in directory /lib/modules/5.14.0-1038-oem" |
You should run |
I'm trying to run
usbtop
in a priveleged Docker.It keeps saying
However, I have run
outside the docker
When I run
So the Docker can detect the module. What's going on?
The text was updated successfully, but these errors were encountered: