-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Labels
Description
- 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.
I have verified that the device is there.
Information
Unfortunately, it is not possible to pass through a USB device (or a serial port) to a container as it requires support at the hypervisor level.
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
- macOS Version: 11.1 (Build 20C69) on the 2020 M1 Mini
- Docker for Mac: The December 2020 release of Docker Desktop for Apple Silicon. The about page says 0.0.0 lol
Diagnostic logs
Steps to reproduce the behavior
- ...
- ...
Reactions are currently unavailable