I have a working usb passthrough on debian, and I am finding mixed messages on usb passthrough on mac for docker. I can see both the cu.serial devices as well as the tty device for the zigbee dongle, but docker gives the error that the device isnit found Error response from daemon: error gathering device information while adding custom device "/dev/cu.usbserial-202311201154291": no such file or directory my docker config has this: devices: - /dev/cu.usbserial-202311201154291:/dev/ttyUSB0
#Moving my docker HA from a Linux to a MacOS, having trouble with my sonoff zigbee 3.0 usb
1 messages · Page 1 of 1 (latest)
If you run HA privileged like documented you don't need to pass anything as it already has access to all devices.
I am also reading that docker doesn't seem to allow device passthrough on docker for mac, is that still true?
I'm not sure, I don't own any apple products. Apparently it runs in a VM similar to docker desktop on windows and thus doesn't support that.
I'm curious why you switched from linux?
As a workaround you could use a ethernet coordinator like the SLZB-06/SLZB-06M.
moving to m4 for performance/power consumption
I will look for a different hardware option than the usb dongle or just move to a VM on the mac
I was going to suggest a VM but I'm not sure about the landscape of hypervisors for MAC. This could also allow you to use HAOS if that's something you want.
I am interested in going back to HAOS, I am winding through the UTM (hypervisor) maze right now since everything points to virtualbox for mac right now
I know how to move everything over, just bummed to see docker for mac doesn't support serial passthrough, and it's an old bug that they have closed
This m4 mac mini is fast though and sips power
Yeah I saw the issue on github and there's also this: https://docs.docker.com/desktop/troubleshoot-and-support/faqs/general/#can-i-pass-through-a-usb-device-to-a-container
yeah I found that after posting this question, which is how it always seems to go for me. thank you- macos+docker+device passthrough is def an edge case 🙂