Docker Community Forums

Share and learn in the Docker community.

Docker container does not update USB

I have attached /dev/bus to the container and even tried --privileged but I have an issue that the USB devices do not get updated.

So I have a specific USB device (which is Intel Realsense T265 camera) and by default, it will be first connected to the machine as USB2.0 device unrelated to the camera device. Then, I have to run some of their applications to basically trigger the camera and it gets disconnected and connected again to the machine as USB3.0 as a camera device.

This is all makes sense as industrial cameras do behave in such way but when I am doing all this inside the docker container (as I cannot do on the host machine due to the fact that it does not have libraries to run camera applications) and after the USB device replugs, the docker container does not get a new device update and I cannot use a new USB3.0 device.

How can I make so my Docker container updates with the latest plugged USB devices? As at the moment, I have to restart my container to see a new USB3.0 device.

linux docker