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
Virtual-machine-based runtimes require additional configuration to that specified in the [default spec configuration](config.md).
4
+
5
+
This optional configuration is specified in a "VM" object:
6
+
7
+
***`imagePath`** (string, required) path to file that represents the root filesystem for the virtual machine.
8
+
***`kernel`** (object, required) specifies details of the kernel to boot the virtual machine with.
9
+
10
+
Note that `imagePath` refers to a path on the host (outside of the virtual machine).
11
+
This field is distinct from the **`path`** field in the [Root Configuration](config.md#Root-Configuration) section since in the context of a virtual-machine-based runtime:
12
+
13
+
***`imagePath`** will represent the root filesystem for the virtual machine.
14
+
* The container root filesystem specified by **`path`** from the [Root Configuration](config.md#Root-Configuration) section will be mounted inside the virtual machine at a location chosen by the virtual-machine-based runtime.
15
+
16
+
The virtual-machine-based runtime will use these two path fields to arrange for the **`path`** from the [Root Configuration](config.md#Root-Configuration) section to be presented to the process to run as the root filesystem.
17
+
18
+
## Kernel
19
+
20
+
Used by virtual-machine-based runtimes only.
21
+
22
+
***`path`** (string, required) specifies the path to the kernel used to boot the virtual machine.
23
+
***`parameters`** (string, optional) specifies a space-separated list of parameters to pass to the kernel.
24
+
***`initrd`** (string, optional) specifies the path to an initial ramdisk to be used by the virtual machine.
0 commit comments