From cbd5c615925623e84f4254a5a065f574a6f1a7fa Mon Sep 17 00:00:00 2001 From: Mindy Preston Date: Sat, 9 Jan 2016 00:52:08 +0000 Subject: [PATCH] Run qemu-system-x86_64 with more memory. With the default 128M of memory, the ramfs (which currently has a decompressed size of ~82M) can't be completely written with the kernel and the compressed ramfs also in memory, resulting in missing chunks of filesystem (notably /etc and /sbin for me) on the emulated machine. This makes for a dramatically broken moby. Asking for 256M at least gets us to some nice whale ASCII art and a console we can interact with. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fb9baac98..9a2083dcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN apk update && apk add qemu-system-x86_64 RUN gzip -9 initrd.img -ENTRYPOINT [ "qemu-system-x86_64", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-append", "earlyprintk=serial console=ttyS0", "-vnc", "none", "-nographic" ] +ENTRYPOINT [ "qemu-system-x86_64", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-m", "256", "-append", "earlyprintk=serial console=ttyS0", "-vnc", "none" ]