Using docker run --privileged to host a single USB device
Try --device /dev/bus/usb/002/005
.
Side note: Docker version 1.17 from the Ubuntu repository has a bug with option --device
that does not set group ownership of a shared device in a container to the same as on the host. If you have issues for this reason, try:
--device /dev/bus/usb/002/005 --volume=/dev/bus/usb/002/005:/dev/bus/usb/002/005
Never use --privileged
for anything except short debugging tests.