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 been trying to get this example (and others like it) to work on a Mac OS X host.
On my setup, the Arduino shows up at /dev/cu.usbmodem144421
but running docker run --rm -it -v "$(pwd):/src" --device=/dev/cu.usbmodem144421 strm/dev-arduino serial
(slight modification of what is in functions.sh, which assumes /dev/ttyUSB0), produces the error:
docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/tty.usbmodem144421": no such file or directory.
Is device mapping fundamentally different from a Mac OS host, or am I missing something?
The text was updated successfully, but these errors were encountered:
Unfortunelly I can't make it work on Mac OSX, but you can create a Linux virtual machine (Vmware/Virtualbox both will work) and attach the device there. I know this is not a good solution, but is the only one that I can figure out using a Mac and Arduino.
Let me know if you find a better solution to this problem, there are other people in the same situation.
I have been trying to get this example (and others like it) to work on a Mac OS X host.
On my setup, the Arduino shows up at
/dev/cu.usbmodem144421
but running
docker run --rm -it -v "$(pwd):/src" --device=/dev/cu.usbmodem144421 strm/dev-arduino serial
(slight modification of what is in
functions.sh
, which assumes/dev/ttyUSB0
), produces the error:docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/tty.usbmodem144421": no such file or directory.
Is device mapping fundamentally different from a Mac OS host, or am I missing something?
The text was updated successfully, but these errors were encountered: