docs: cgroup wildcard
This commit is contained in:
parent
f652abf4c3
commit
07f21dfbad
1 changed files with 1 additions and 3 deletions
|
@ -160,11 +160,9 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm
|
||||||
devices:
|
devices:
|
||||||
- /dev/vhost-net
|
- /dev/vhost-net
|
||||||
device_cgroup_rules:
|
device_cgroup_rules:
|
||||||
- 'c 511:* rwm'
|
- 'c *:* rwm'
|
||||||
```
|
```
|
||||||
|
|
||||||
Please note that the exact `cgroup` rule number may vary depending on your system, but the log output will indicate the correct number in the event of an error.
|
|
||||||
|
|
||||||
[build_url]: https://github.com/qemu-tools/qemu-docker/
|
[build_url]: https://github.com/qemu-tools/qemu-docker/
|
||||||
[ghcr_url]: https://github.com/orgs/qemu-tools/packages/container/package/qemu-docker
|
[ghcr_url]: https://github.com/orgs/qemu-tools/packages/container/package/qemu-docker
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue