docker-qemu-reactos/README.md

47 lines
1.1 KiB
Markdown
Raw Normal View History

2019-02-20 22:10:38 +00:00
# ReactOS on Docker
A Docker image for the [ReactOS](https://www.reactos.org) operating system.
## Start an instance
```sh
docker run --detach \
--name qemu-reactos \
--restart on-failure:3 \
--publish 127.0.0.1:6080:6080/tcp \
--privileged --env QEMU_VM_KVM=true \
2021-02-11 20:20:03 +00:00
docker.io/hectormolinero/qemu-reactos:latest
2019-02-20 22:10:38 +00:00
```
2019-05-05 15:17:40 +00:00
> The instance will be available through a web browser from: http://localhost:6080/vnc.html
2019-02-20 22:10:38 +00:00
## Environment variables
#### `QEMU_VM_CPU`
2019-02-20 22:10:38 +00:00
Number of cores the VM is permitted to use (`2` by default).
#### `QEMU_VM_RAM`
2019-02-20 22:10:38 +00:00
Amount of memory the VM is permitted to use (`1024M` by default).
#### `QEMU_VM_DISK_SIZE`
2019-02-20 22:10:38 +00:00
VM disk size (`16G` by default).
#### `QEMU_VM_DISK_FORMAT`
2019-02-20 22:10:38 +00:00
VM disk format (`qcow2` by default).
#### `QEMU_VM_KEYBOARD`
2019-02-20 22:10:38 +00:00
VM keyboard layout (`en-us` by default).
#### `QEMU_VM_NET_DEVICE`
2019-09-21 10:50:01 +00:00
VM network device (`e1000` by default).
2019-03-07 20:50:38 +00:00
#### `QEMU_VM_BOOT_ORDER`
2019-03-07 20:50:38 +00:00
VM boot order (`cd` by default).
#### `QEMU_VM_BOOT_MENU`
2019-03-07 20:50:38 +00:00
VM boot menu (`off` by default).
#### `QEMU_VM_KVM`
2019-02-20 22:10:38 +00:00
Start QEMU in KVM mode (`false` by default).
> The `--privileged` option is required to use KVM in the container.
## License
See the [license](LICENSE.md) file.