mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
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:
parent
4b46a8631b
commit
cbd5c61592
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user