You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried with the latest version of Docker Desktop
I have tried disabling enabled experimental features
I have uploaded Diagnostics
Diagnostics ID:
Expected behavior
MacOS now supports USB passthrough with their new Hypervisor framework.
Actual behavior
> docker run --device=/dev/cu.usbserial-220 ...
docker: Error response from daemon: error gathering device information while adding custom device "/dev/cu.usbserial-220": no such file or directory.
An implementation via the hypervisor.framework would have to be with hyperkit and would likely be a significant amount of work: probably a whole PCI USB interface device would have to be emulated and (somehow) individual devices mapped to host devices. I would assume it's not possible or desirable to pass an entire host PCI controller to the VM since the host needs USB devices too.
An implementation via the virtualization.framework would be ideal and much easier for us to consume but I don't think it currently exists.
As a feature request, perhaps a better place to discuss this would be on a docker/roadmap ticket -- feel free to open an issue there. I'll close this one as I don't think there's anything we can do about this in the short term.
Expected behavior
MacOS now supports USB passthrough with their new Hypervisor framework.
Actual behavior
I have verified that the device is there.
Information
The FAQ currently says:
USB support was last discussed in 2018, when it was closed as won't fix. The Hypervisor framework was not available then.
Related Apple Developer Reference
Diagnostic logs
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: