initial Dockerfile for running qemu, however interactive serial console not working

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack 2016-01-06 16:28:45 +00:00
parent 34d8226a4d
commit defd322215
2 changed files with 11 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
xhyve/

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM debian:unstable
COPY alpine/initrd.img .
COPY alpine/kernel/vmlinuz64 .
RUN apt-get update && apt-get -y install qemu
RUN gzip -9 initrd.img
ENTRYPOINT [ "qemu-system-x86_64", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-append", "earlyprintk=serial console=ttyS0", "-vnc", "none", "-nographic" ]