docs: Readme (#270)
This commit is contained in:
parent
75a724e531
commit
c547cf80a0
1 changed files with 2 additions and 12 deletions
14
readme.md
14
readme.md
|
@ -19,7 +19,6 @@ It uses high-performance QEMU options (like KVM acceleration, kernel-mode networ
|
||||||
|
|
||||||
- Multi-platform
|
- Multi-platform
|
||||||
- KVM acceleration
|
- KVM acceleration
|
||||||
- GPU passthrough
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -32,6 +31,7 @@ services:
|
||||||
container_name: qemu
|
container_name: qemu
|
||||||
image: qemux/qemu-docker:latest
|
image: qemux/qemu-docker:latest
|
||||||
environment:
|
environment:
|
||||||
|
DISPLAY: "vnc"
|
||||||
BOOT: "https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-standard-3.18.2-x86_64.iso"
|
BOOT: "https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-standard-3.18.2-x86_64.iso"
|
||||||
devices:
|
devices:
|
||||||
- /dev/kvm
|
- /dev/kvm
|
||||||
|
@ -39,6 +39,7 @@ services:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
ports:
|
ports:
|
||||||
- 2222:22
|
- 2222:22
|
||||||
|
- 5900:5900
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -170,17 +171,6 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" -p 5900:5900 --de
|
||||||
|
|
||||||
Afterwards you can connect with any VNC client to port 5900.
|
Afterwards you can connect with any VNC client to port 5900.
|
||||||
|
|
||||||
* ### How do I passthrough the GPU?
|
|
||||||
|
|
||||||
To passthrough your Intel GPU, add the following lines to your compose file:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
environment:
|
|
||||||
GPU: "Y"
|
|
||||||
devices:
|
|
||||||
- /dev/dri
|
|
||||||
```
|
|
||||||
|
|
||||||
* ### How do I provide custom arguments to QEMU?
|
* ### How do I provide custom arguments to QEMU?
|
||||||
|
|
||||||
You can create the `ARGUMENTS` environment variable to provide additional arguments to QEMU at runtime:
|
You can create the `ARGUMENTS` environment variable to provide additional arguments to QEMU at runtime:
|
||||||
|
|
Loading…
Reference in a new issue