How to connect USB wifi adapter on host to container?

I added this section to my docker-compose.yml file:

devices:
 - "/dev/ttyUSB0:/dev/ttyUSB0"

but I’m not sure how to figure out the right tty values.
ls /dev/ttyUSB*
returns nothing but I can see the device out there when I do

lsusb
Bus 008 Device 004: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]

1 Like