Update readme.md
This commit is contained in:
parent
026be5c9d8
commit
5edc45d521
1 changed files with 3 additions and 6 deletions
|
|
@ -172,15 +172,12 @@ docker run -it --rm --name qemu -e "BOOT=http://example.com/image.iso" -p 8006:8
|
||||||
It is possible to pass-through disk devices directly by adding them to your compose file in this way:
|
It is possible to pass-through disk devices directly by adding them to your compose file in this way:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
environment:
|
|
||||||
DEVICE: "/dev/sda"
|
|
||||||
DEVICE2: "/dev/sdb"
|
|
||||||
devices:
|
devices:
|
||||||
- /dev/sda
|
- /dev/sda:/dev/disk1
|
||||||
- /dev/sdb
|
- /dev/sdb:/dev/disk2
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `DEVICE` if you want it to become your main drive, and use `DEVICE2` and higher to add them as secondary drives.
|
Use `/dev/disk1` if you want it to become your main drive, and use `/dev/disk2` and higher to add them as secondary drives.
|
||||||
|
|
||||||
* ### How do I pass-through a USB device?
|
* ### How do I pass-through a USB device?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue