docs: Add vhost-net
This commit is contained in:
parent
9a7bbf94d1
commit
9dd84f4c93
1 changed files with 2 additions and 0 deletions
|
|
@ -183,6 +183,8 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||
```yaml
|
||||
environment:
|
||||
DHCP: "Y"
|
||||
devices:
|
||||
- /dev/vhost-net
|
||||
device_cgroup_rules:
|
||||
- 'c *:* rwm'
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue