1KRUNVM-CREATE(1)                                              KRUNVM-CREATE(1)
2
3
4

NAME

6       krunvm-create - Create a new microVM from an OCI image
7

SYNOPSIS

9       krunvm create [OPTIONS] IMAGE
10

DESCRIPTION

12       krunvm create creates a new microVM from the OCI image specified by
13       IMAGE. Please refer to buildah-from(1) for information about the format
14       supported by the IMAGE argument.
15

OPTIONS

17       --cpus NUM
18           The number of vCPUs that will be created for this microVM.
19
20       --mem NUM
21           The amount of RAM, in MiB, that will be available to this microVM.
22
23           The memory configured for the microVM will not be reserved
24           immediately. Instead, it will be provided as the guest demands it,
25           and both the guest and libkrun (acting as the Virtual Machine
26           Monitor) will attempt to return as many pages as possible to the
27           host.
28
29       --name NAME
30           The name to be assigned to this microVM.
31
32       -p, --port HOST_PORT:GUEST_PORT
33           Exposes a port in the guest running in the microVM through a port
34           in the host.
35
36           This option can be specified multiple times to expose as many guest
37           ports as desired.
38
39       -v, --volume HOST_PATH:GUEST_PATH
40           Makes HOST_PATH visible in the guest running in the microVM through
41           GUEST_PATH.
42
43           This option can be specified multiple times to make more paths in
44           the host visible in the guest.
45
46       -w, --workdir GUEST_PATH
47           Configures GUEST_PATH as the working directory for the first binary
48           executed in the microVM.
49

SEE ALSO

51       buildah(1), buildah-from(1), krunvm(1), krunvm-changevm(1)
52
53
54
55                                  2023-08-07                  KRUNVM-CREATE(1)
Impressum