mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-05 00:42:54 +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:
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" ]
|
Reference in New Issue
Block a user