Sharing a USB camera with usbipd in a docker container #879
Replies: 2 comments 2 replies
-
@guillaumenibert |
Beta Was this translation helpful? Give feedback.
-
Hi @guillaumenibert!
I don't recommend on downgrading to these versions. Just wanted to let you know a configuration that worked. I have to say though that I'm not sure how the program I'm using in the container (Intel Quartus) is actually accessing the USB JTAG programmatically. I.e. i don't know if it is accessed via the raw USB device tree (in |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, thank you for your work, I am looking to share my USB camera to a docker container.
Based on discussion #315, I performed these steps:
/dev/video0
is visible in thedocker-desktop
distro, but not in the container:I tried this tip (#315) from @NikLeberg:
Adapting it, I tried these configurations (docker compose file), with or without privileges, with or without the devices part,
When I do
lsusb
in my container, the camera is visible, but the output ofls /dev
does not listvideo0
.I am interested in any advice, whether or not it concerns usbipd or rather WSL/Docker.
Best regards,
Guillaume
--
Docker Desktop for Windows 4.28.0
Usbipd: 4.1.1-dev (from #856)
Host: Windows 11 23H2
Container: Ubuntu 22.04
Beta Was this translation helpful? Give feedback.
All reactions