mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 05:10:12 +00:00
docs: only mount usb subsystem
This commit is contained in:
parent
f3f00d40f5
commit
be8efc8d69
1 changed files with 1 additions and 1 deletions
|
@ -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. ⚠️
|
||||
|
|
Loading…
Reference in a new issue