How do I passthrough USB devices to containers?


Recommended Posts

I need to pass this protocol modem to a container, in regular Docker I think you'd just use the -v option to map it as a volume, but my attempts here have made the container non-bootable at all.

 

I made the container privileged (las time I did this, it was requirements for containers to access devices) and I was just going to map the path but I found a proper device option which I tried first. It failed. It also wasn't even available anywhere in the tree, I had to paste it because the / character is not typable whereas it is in other modes or in other fields.

 

1284154562_ScreenShot2023-07-05at03_00_00.png.8ac3c8bcbb2c05058a44df6d85611559.png

 

I went back to trying adding the path as originally planed but it failed as well. I tried the documentation--nothing there, it guided me here.

 

Any advice to do this?

 

The device in the host/Unraid appears as /dev/ttyUSB0 as in the screenshot above.

 

Thanks.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.