https://github.com/fcwu/docker-qemu
https://github.com/fcwu/docker-qemu
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fcwu/docker-qemu
- Owner: fcwu
- License: mit
- Created: 2015-07-01T00:13:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T16:01:34.000Z (almost 11 years ago)
- Last Synced: 2025-02-01T15:23:21.404Z (over 1 year ago)
- Language: JavaScript
- Size: 5.03 MB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QEMU/KVM on Docker
Fork from [ulexus/qemu](https://github.com/Ulexus/docker-qemu)
## Usage
Boot with ISO
```
docker run --privileged -v ${PWD}:/data \
-e VM_DISK_IMAGE=/data/disk-image \
-e ISO=http://releases.ubuntu.com/14.04.2/ubuntu-14.04.2-desktop-amd64.iso \
-p 16080:6080 \
-p 15900:5900 \
dorowu/qemu-iso
```
Turn on machine with last image
```
docker run --privileged -v ${PWD}:/data \
-e VM_DISK_IMAGE=/data/disk-image \
-e ISO= \
-p 16080:6080 \
-p 15900:5900 \
dorowu/qemu-iso
```
Then browse http://127.0.0.1:16080/
This image also provide *spicec* to access remote desktop if running by *docker run -e REMOTE_ACCESS=spice -p 16080:6080 ...*)
```
sudo apt-get install spice-client
spicec -h 127.0.0.1 -p 15900
```