Adjust README formatting
This commit is contained in:
parent
de840b8932
commit
712b0be43a
|
@ -1,7 +1,8 @@
|
||||||
# tianon/qemu
|
# tianon/qemu
|
||||||
|
|
||||||
touch /home/jsmith/hda.qcow2
|
```console
|
||||||
docker run -it --rm \
|
$ touch /home/jsmith/hda.qcow2
|
||||||
|
$ docker run -it --rm \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
--name qemu-container \
|
--name qemu-container \
|
||||||
-v /home/jsmith/hda.qcow2:/tmp/hda.qcow2 \
|
-v /home/jsmith/hda.qcow2:/tmp/hda.qcow2 \
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
-e QEMU_BOOT='order=d' \
|
-e QEMU_BOOT='order=d' \
|
||||||
-e QEMU_PORTS='2375 2376' \
|
-e QEMU_PORTS='2375 2376' \
|
||||||
tianon/qemu
|
tianon/qemu
|
||||||
|
```
|
||||||
|
|
||||||
Note: port 22 will always be mapped (regardless of the contents of `QEMU_PORTS`).
|
Note: port 22 will always be mapped (regardless of the contents of `QEMU_PORTS`).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user