MacOS USB device passthrough to a Docker container #3904
-
I'm attempting to pass through a USB device from my Mac to a Docker container, but it seems to not be working. I suspect that is because there is a VM running the actual Docker magic, but perhaps I misunderstand the architecture. I tried using a file (volume) mapping but the USB device doesn't seem to appear in my Mac's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, the containers run inside a VM, and there is no way1 to pass through a USB device to the VM. It is possible to mount additional filesystems into the VM, but that won't give you access to the device itself. Footnotes
|
Beta Was this translation helpful? Give feedback.
Yes, the containers run inside a VM, and there is no way1 to pass through a USB device to the VM.
It is possible to mount additional filesystems into the VM, but that won't give you access to the device itself.
Footnotes
Well, https://github.com/lima-vm/lima/pull/1317 kind of shows how it can be made to work, but it requires running various pieces as
root
, which would not be acceptable for Rancher Desktop. ↩