You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
krunvm create docker.io/library/alpine:latest --name alpine_16 --mem 16 microVM created with name: alpine_16
krunvm start alpine_16 /bin/ls -- -l /bin/
thread '<unnamed>' panicked at 'Kernel doesn't fit in RAM', src/arch/src/x86_64/mod.rs:77:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault (core dumped)
Hi! By design, in krunvm the VM's lifetime is tied to the command executed on it, which is usually a shell and, in your example, /bin/ls. Once the command finishes the VM shuts down too. If you execute a second command, a new VM is instantiated (VM start up usually takes less than 100ms).
If your example, the VMM is crashing early on because the amount of RAM configured (16 MiB) is so small that the kernel doesn't fit in.
I know. That just easy crash example.
My real containers start program and works endless.
While they not crash by some reason. :(
So I need check this all times and sometimes restart .
I try to find more stable and less huge by memory variant than standart podman.
That important because I need thousants of vms.
But looks like for my case microVM has no advantages?
Hi!
Thank you for awesome project!
krunvm create docker.io/library/alpine:latest --name alpine_16 --mem 16
microVM created with name: alpine_16
krunvm start alpine_16 /bin/ls -- -l /bin/
krunvm list
But vm is dead.
How to check if vm crashed?
The text was updated successfully, but these errors were encountered: