mirror of
https://github.com/dockur/windows.git
synced 2024-11-15 01:34:41 +00:00
docs: Disk pass-through (#43)
This commit is contained in:
parent
c8f243f357
commit
5bd9da2baa
15
readme.md
15
readme.md
@ -152,6 +152,21 @@ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN dockurr/w
|
|||||||
|
|
||||||
During the installation you will need to add some drivers as described in [manual installation](https://github.com/dockur/windows/tree/master?tab=readme-ov-file#how-do-i-perform-a-manual-installation) above.
|
During the installation you will need to add some drivers as described in [manual installation](https://github.com/dockur/windows/tree/master?tab=readme-ov-file#how-do-i-perform-a-manual-installation) above.
|
||||||
|
|
||||||
|
* ### How do I pass-through a disk?
|
||||||
|
|
||||||
|
It is possible to pass-through disk devices directly by adding them to your compose file in this way:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
environment:
|
||||||
|
DEVICE: "/dev/sda"
|
||||||
|
DEVICE2: "/dev/sdb"
|
||||||
|
devices:
|
||||||
|
- /dev/sda
|
||||||
|
- /dev/sdb
|
||||||
|
```
|
||||||
|
|
||||||
|
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 verify if my system supports KVM?
|
* ### How do I verify if my system supports KVM?
|
||||||
|
|
||||||
To verify if your system supports KVM, run the following commands:
|
To verify if your system supports KVM, run the following commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user