mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
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:
parent
34d8226a4d
commit
defd322215
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
xhyve/
|
10
Dockerfile
Normal file
10
Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user