Templates
Build & list
Build manifest-backed templates and inspect the local mvm registry.
Build from the current project:
mvmctl machine buildOr point at a project directory or manifest file:
mvmctl machine build --flake ./my-workermvmctl machine build --flake ./my-worker/mvm.tomlmvmctl machine build discovers mvm.toml or Mvmfile.toml, runs the Nix build
through the builder VM where Linux build work belongs, and stores artifacts in
a local slot keyed by the canonical manifest path.
Build options
Section titled “Build options”mvmctl machine build --forcemvmctl machine build --update-hashmvmctl machine run --flake . --cpus 4 --memory 2Gmvmctl machine checkpoint create my-machine --class vm-fullmvmctl machine build --jsonSnapshot builds are backend-specific. Do not present snapshot availability or latency as universal unless the backend and readiness boundary are named.
Inspect built slots
Section titled “Inspect built slots”mvmctl manifest lsmvmctl manifest ls --jsonmvmctl manifest infomvmctl manifest info ./my-worker --jsonmvmctl manifest verifyUse mvmctl machine ls, mvmctl machine inspect, mvmctl machine logs, and mvmctl machine stop for running
VMs. Use mvmctl manifest * for build slots and registry state.
Boot after build
Section titled “Boot after build”mvmctl machine run --manifest .mvmctl machine run --manifest ./my-worker -- uname -aIf there is no built revision for the manifest, mvmctl machine run should fail with a
hint to run mvmctl machine build.
Security checklist
Section titled “Security checklist”- Build Linux artifacts through the builder VM.
- Treat
--forceas an intentional overwrite of the current slot revision. - Use
manifest verifywhen moving artifacts between hosts or debugging cache state. - Keep mutable registry inputs out of production examples unless they are labeled local-only.