763 B
763 B
vm
Import: dappco.re/go/core/container/cmd/vm
Files: 4
Types
Functions
Exported Functions
AddVMCommands(root *cli.Command): Registers thevmcommand tree and itsrun,ps,stop,logs,exec, andtemplatessubcommands on the parent CLI.ParseVarFlags(varFlags []string) map[string]string: Parses repeatedKEY=VALUE--varflags, trims whitespace, and strips matching single or double quotes around values.RunFromTemplate(templateName string, vars map[string]string, runOpts container.RunOptions) error: Applies a named LinuxKit template, writes it into a temporary build directory, runslinuxkit build --format iso-bios, locates the resulting image file, and starts it throughcontainer.NewLinuxKitManager.