Update readme.md
This commit is contained in:
parent
23fefbac77
commit
a245c6c85b
1 changed files with 11 additions and 9 deletions
18
readme.md
18
readme.md
|
@ -40,6 +40,8 @@ services:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
ports:
|
ports:
|
||||||
- 8006:8006
|
- 8006:8006
|
||||||
|
volumes:
|
||||||
|
- ./qemu:/storage
|
||||||
restart: always
|
restart: always
|
||||||
stop_grace_period: 2m
|
stop_grace_period: 2m
|
||||||
```
|
```
|
||||||
|
@ -47,7 +49,7 @@ services:
|
||||||
Via Docker CLI:
|
Via Docker CLI:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm -e "BOOT=http://example.com/image.iso" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN qemux/qemu-arm
|
docker run -it --rm --name qemu -e "BOOT=http://example.com/image.iso" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/qemu:/storage --stop-timeout 120 qemux/qemu-arm
|
||||||
```
|
```
|
||||||
|
|
||||||
Via Kubernetes:
|
Via Kubernetes:
|
||||||
|
@ -84,10 +86,10 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /var/qemu:/storage
|
- ./qemu:/storage
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace the example path `/var/qemu` with the desired storage folder.
|
Replace the example path `./qemu` with the desired storage folder or named volume.
|
||||||
|
|
||||||
### How do I change the size of the disk?
|
### How do I change the size of the disk?
|
||||||
|
|
||||||
|
@ -123,10 +125,10 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /home/user/example.iso:/boot.iso
|
- ./example.iso:/boot.iso
|
||||||
```
|
```
|
||||||
|
|
||||||
This way you can supply a `boot.iso`, `boot.img` or `boot.qcow2` file. The value of the `BOOT` variable will be ignored in this case.
|
You can supply a `boot.iso`, `boot.img` or `boot.qcow2` file by replacing the example path `./example.iso` with the filename of your desired image. The value of `BOOT` will be ignored in this case.
|
||||||
|
|
||||||
### How do I boot Windows?
|
### How do I boot Windows?
|
||||||
|
|
||||||
|
@ -247,8 +249,8 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
|
||||||
DISK2_SIZE: "32G"
|
DISK2_SIZE: "32G"
|
||||||
DISK3_SIZE: "64G"
|
DISK3_SIZE: "64G"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/example:/storage2
|
- ./example2:/storage2
|
||||||
- /mnt/data/example:/storage3
|
- ./example3:/storage3
|
||||||
```
|
```
|
||||||
|
|
||||||
### How do I pass-through a disk?
|
### How do I pass-through a disk?
|
||||||
|
@ -298,7 +300,7 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
|
||||||
| `.vhdx` | Hyper-V |
|
| `.vhdx` | Hyper-V |
|
||||||
| `.vdi` | VirtualBox |
|
| `.vdi` | VirtualBox |
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> It will also accept `.img.gz`, `.qcow2.xz`, `.iso.zip` and many more, as it automaticly extracts compressed files.
|
> It will also accept `.img.gz`, `.qcow2.xz`, `.iso.zip` and many more, as it automaticly extracts compressed files.
|
||||||
|
|
||||||
## Stars 🌟
|
## Stars 🌟
|
||||||
|
|
Loading…
Reference in a new issue