- pkg search: add --pattern, --type, --refresh, --limit, --org flags - sdk: remove generate (use core build sdk), keep only diff/validate - vm run: add --ssh-port, --name, fix defaults - TODO.md: all gaps resolved Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
core vm
LinuxKit VM management.
Usage
core vm <command> [flags]
Commands
| Command | Description |
|---|---|
run |
Run a LinuxKit image |
ps |
List running VMs |
stop |
Stop a VM |
logs |
View VM logs |
exec |
Execute command in VM |
| templates | Manage LinuxKit templates |
vm run
Run a LinuxKit image.
core vm run <image> [flags]
core vm run --template <name> [flags]
Flags
| Flag | Description |
|---|---|
--template |
Use a template instead of image file |
--var |
Set template variable (KEY=value) |
--name |
Name for the container |
--memory |
Memory in MB (default: 1024) |
--cpus |
CPU count (default: 1) |
--ssh-port |
SSH port for exec commands (default: 2222) |
-d |
Run in detached mode (background) |
vm ps
List running VMs.
core vm ps [flags]
Flags
| Flag | Description |
|---|---|
-a |
Show all (including stopped) |
vm stop
Stop a running VM.
core vm stop <id>
vm logs
View VM logs.
core vm logs <id> [flags]
Flags
| Flag | Description |
|---|---|
-f |
Follow log output |
vm exec
Execute a command in a running VM.
core vm exec <id> <command>
See Also
- build command - Build LinuxKit images