1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-12-24 21:32:00 +00:00

docs: only mount usb subsystem

This commit is contained in:
Carsten 2024-10-29 18:55:23 +01:00 committed by GitHub
parent f3f00d40f5
commit be8efc8d69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ You need to make sure that the USB device can be accessed by the container. The
- 'c 189:* rwm'
...
volumes:
- /dev:/dev:rw
- /dev/bus/usb:/dev/bus/usb:rw
```
The advantage of doing this (over simply adding a `device:` directive pointing at the USB port) is that the construction above will automatically recover if you "hot plug" your dongle. ⚠This feature requires a recent version of docker-compose (version >=2.3). Make sure your system is up to date if dongles are not found. ⚠️