docs: USB pass-through (#413)
This commit is contained in:
parent
dd6bb4ec9a
commit
0355950a94
1 changed files with 12 additions and 1 deletions
11
readme.md
11
readme.md
|
@ -185,6 +185,17 @@ docker run -it --rm -e "BOOT=http://example.com/image.iso" -p 8006:8006 --device
|
|||
|
||||
Use `DEVICE` if you want it to become your main drive, and use `DEVICE2` and higher to add them as secondary drives.
|
||||
|
||||
* ### How do I pass-through a USB device?
|
||||
|
||||
To pass-through a USB device, first lookup its vendor and product id via the `lsusb` command, then add them to your compose file like this:
|
||||
|
||||
```yaml
|
||||
environment:
|
||||
ARGUMENTS: "-device usb-host,vendorid=0x1234,productid=0x1234"
|
||||
devices:
|
||||
- /dev/bus/usb
|
||||
```
|
||||
|
||||
* ### How do I boot with UEFI?
|
||||
|
||||
To enable UEFI booting, add the following line to your compose file:
|
||||
|
|
Loading…
Reference in a new issue