KRUNVM-CREATE(1)
โจ KRUNVM-CREATE โจ
okay bestie, so this is the krunvm-create page from the krunvm manual (section 1, the commands section, where all the good stuff lives ๐
) and it's literally just: make a new microVM out of an OCI image. that's the whole vibe. let's get into it ๐ซถ
๐ธ NAME ๐ธ
krunvm-create โ create a new microVM from an OCI image โจ
like. it makes a microVM. from an image. no cap.
๐ SYNOPSIS ๐
krunvm create [OPTIONS] IMAGE
that's it, that's the summoning ritual ๐ฎ
๐ DESCRIPTION ๐
so krunvm create creates a new microVM from the OCI image you hand it in the IMAGE argument. ๐ฆ
and if you're like "bestie what even counts as an IMAGE around here" โ please go read buildah-from(1), it explains the format that IMAGE supports. i'm not gatekeeping, i'm just saying the format lore lives over there ๐โจ
๐ OPTIONS ๐
--cpus NUMโ the number of vCPUs that get created for this microVM. more cpus = more main character energy, but also like, be reasonable ๐ซถ--mem NUMโ the amount of RAM, in MiB, that will be available to this microVM. ๐ง
and here's the cute part: the memory you configure for the microVM is not reserved immediately. instead it gets provided as the guest demands it, and both the guest and libkrun (which is acting as the Virtual Machine Monitor) will attempt to return as many pages as possible back to the host. so it's giving generous-but-tidy, not hoarder โจ
--name NAMEโ the name to be assigned to this microVM. give it a name, it deserves one ๐ฅบ-p,--port HOST_PORT:GUEST_PORTโ exposes a port in the guest running in the microVM through a port in the host. ๐
you can specify this option multiple times to expose as many guest ports as you want. go off, expose them all ๐
-v,--volume HOST_PATH:GUEST_PATHโ makesHOST_PATHvisible in the guest running in the microVM throughGUEST_PATH. ๐
this option can also be specified multiple times to make more paths in the host visible in the guest. stack 'em up ๐ง
-w,--workdir GUEST_PATHโ configuresGUEST_PATHas the working directory for the first binary executed in the microVM. like, where the whole thing kicks off ๐ฌ
๐ฅ SEE ALSO ๐ฅ
buildah(1), buildah-from(1), krunvm(1), krunvm-changevm(1)
(go read these, they're the extended universe iykyk ๐)
ok real talk bestie, quick vibe check on the whole thing: krunvm create [OPTIONS] IMAGE is the move, every flag above is exact, and the memory thing is lazy on purpose โ that's a feature, not a bug, don't panic ๐
and that's the page!! this version is from the krunvm manual, dated 2025-07-25, and the header/footer both say KRUNVM-CREATE(1) because that's literally the name of the page bestie ๐ญ๐ slay, go build a tiny VM, mwah ๐โจ
๐ฆ where this page comes from
- fedora 43: krunvm 0.1.6-11.fc43 ยท Apache-2.0 AND MIT AND (MIT OR Apache-2.0) AND (MIT OR X11 OR Apache-2.0)
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms