table of contents
| KRUNVM-CREATE(1) | KRUNVM-CREATE(1) |
NAME¶
krunvm-create - Create a new microVM from an OCI image
SYNOPSIS¶
krunvm create [OPTIONS] IMAGE
DESCRIPTION¶
krunvm create creates a new microVM from the OCI image specified by IMAGE. Please refer to buildah-from(1) for information about the format supported by the IMAGE argument.
OPTIONS¶
--cpus NUM
--mem NUM
The memory configured for the microVM will not be reserved immediately. Instead, it will be provided as the guest demands it, and both the guest and libkrun (acting as the Virtual Machine Monitor) will attempt to return as many pages as possible to the host.
--name NAME
-p, --port HOST_PORT:GUEST_PORT
This option can be specified multiple times to expose as many guest ports as desired.
-v, --volume HOST_PATH:GUEST_PATH
This option can be specified multiple times to make more paths in the host visible in the guest.
-w, --workdir GUEST_PATH
An empty string ("") tells krunvm to not set a working directory explicitly, letting libkrun decide which one should be set.
SEE ALSO¶
| 2026-03-10 |