Docker Community Forums

Share and learn in the Docker community.

Connecting mobile device on docker-compose


(Styy95) #1


I’m trying to add a device on my docker using docker-compose.
I understand that I have to find the device first under /dev on my mac mini and then I have to add it as
devices: - "/dev/ttyUSB0:/dev/ttyUSB0" the problem is I don’t have anything remotely close to something named /ttyUSB0 so I can identify my device. What I do have is a ton of tty files on /dev but I dont think any of them matters to me. I also know the serial number of the phone if that helps with finding it.

Any ideas? Thank you!