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.
This commit is contained in:
Mindy Preston 2016-01-09 00:52:08 +00:00
parent 4b46a8631b
commit cbd5c61592

View File

@ -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" ]