Skip to content

Commit

Permalink
docs: only mount usb subsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicX authored Oct 29, 2024
1 parent f3f00d4 commit be8efc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. ⚠️
Expand Down

0 comments on commit be8efc8

Please sign in to comment.