Manage LinuxKit templates for container images.
core vm templates [command]| Command | Description |
|---|---|
list |
List available templates |
show |
Show template details |
vars |
Show template variables |
List all available LinuxKit templates.
core vm templates listAvailable Templates:
core-dev
Full development environment with 100+ tools
Platforms: linux/amd64, linux/arm64
server-php
FrankenPHP production server
Platforms: linux/amd64, linux/arm64
edge-node
Minimal edge deployment
Platforms: linux/amd64, linux/arm64
Show details of a specific template.
core vm templates show <name>core vm templates show core-devOutput:
Template: core-dev
Description: Full development environment with 100+ tools
Platforms:
- linux/amd64
- linux/arm64
Formats:
- iso
- qcow2
Services:
- sshd
- docker
- frankenphp
Size: ~1.8GB
Show variables defined by a template.
core vm templates vars <name>core vm templates vars core-devOutput:
Variables for core-dev:
SSH_KEY (required) SSH public key
MEMORY (optional) Memory in MB (default: 4096)
CPUS (optional) CPU count (default: 4)
Templates are searched in order:
.core/linuxkit/- Project-specific~/.core/templates/- User templates- Built-in templates
Create a LinuxKit YAML in .core/linuxkit/. See Template Format for examples.
Run with:
core vm run --template myserver- vm command - Run LinuxKit images
- build command - Build LinuxKit images