I have a Realtek RTL2832U dongle for software defined radio (SDR). I would like to give my Docker container access to the device.
The solutions I have found so far:
The
--privilegedflag fordocker run. Problem: insecureThe
--deviceflag fordocker run. Problem: the Realtek dongle isn't a mounted USB device, so I can't find a device path (i.e./dev/ttyUSB0) by runningdf -h. However, the device does show up when I runlsusb, asBus 003 Device 027.
My questions:
- Is it possible to mount a usb device that isn't a data storage device? If so, how would I do that?
- If not, how can I give my docker container access to this usb device?