Dockerization of supported QEMU releases
Go to file
2015-10-27 16:02:00 -07:00
Dockerfile Optimize tianon/qemu 2015-06-27 17:44:08 -07:00
README.md Refactor start-qemu ports handling to allow for user-specified port mappings 2015-10-27 16:02:00 -07:00
start-qemu Refactor start-qemu ports handling to allow for user-specified port mappings 2015-10-27 16:02:00 -07:00

tianon/qemu

touch /home/jsmith/hda.qcow2
docker run -it --rm \
	--device /dev/kvm \
	--name qemu-container \
	-v /home/jsmith/hda.qcow2:/tmp/hda.qcow2 \
	-e QEMU_HDA=/tmp/hda.qcow2 \
	-e QEMU_HDA_SIZE=100G \
	-e QEMU_CPU=4 \
	-e QEMU_RAM=4096 \
	-v /home/jsmith/downloads/debian.iso:/tmp/debian.iso:ro \
	-e QEMU_CDROM=/tmp/debian.iso \
	-e QEMU_BOOT='order=d' \
	-e QEMU_PORTS='2375 2376' \
	tianon/qemu

Note: port 22 will always be mapped (regardless of the contents of QEMU_PORTS).