vz
Reproducible Developer Environment topologies, with Linux as the universal
Machine target.
A Developer Environment is the primary vz product object: a named,
isolated realization of a project topology containing one or more target-native
Machines plus their storage, networks, DNS, endpoints, credentials, lifecycle,
and workload state. It is not a synonym for one VM or container. A project and
even one worktree may have several Environment instances; a single Environment
may contain Linux and native macOS Machines.
The target model is deliberately asymmetric:
- Linux is universal. Linux Machines run on macOS today and are planned for
Linux and Windows hosts.
- Native targets follow the host. Native macOS Machines run on macOS;
native Windows Machines are planned for Windows.
- Docker belongs to each Developer-profile Linux Machine. The complete Docker-compatible
workflow is in progress. Every Developer-profile Linux Machine will implicitly own its private
Docker Engine, containerd, BuildKit cache, image and volume state, networks,
endpoint, and Docker context. There is no Environment-global or global
vz
Docker daemon and no Docker capability implied for native macOS/Windows
Machines.
- Networking can be realistic without being public. Machines use declared
private paths or an Environment-local simulated-public DNS/TLS/ingress/NAT
edge. Separate Environments are default-deny.
- Hardened Machines are secondary. The constrained
container kernel
profile remains available for locked-down workloads, but it is not a peer
product or the default Developer Environment.
Today, vz ships Linux VM/OCI/BuildKit primitives and native macOS VM automation
on Apple Silicon. Their convergence into the complete Developer Environment
contract—including topology and private per-Developer-Linux-Machine Docker—is in
development. Additional
host/Machine-target combinations below are roadmap work, not shipped functionality.
Why vz
- Environment-first. A project definition creates isolated reproducible
topology instances, each with one or more Machines.
- Linux everywhere. Keep the Linux target consistent while choosing the
best isolation backend for macOS, Linux, or Windows.
- Native where it matters. Use native macOS environments on Apple hardware;
native Windows is a later target for Windows hosts.
- Private by construction. Linux Docker state is scoped to one Machine;
Environment routing, DNS, storage, credentials, and endpoints cannot leak into
another instance.
- Script-friendly. Consistent command flows and
--json output support
automation.
Install
curl -sSf https://raw.githubusercontent.com/gpu-cli/vz/main/scripts/install.sh | sh
The installer selects published binaries and Linux artifacts for Apple-silicon
macOS. A published release can have a different CLI from this development
checkout; always inspect the installed vz --help. This README describes the
current DEV surface, not a
completed or certified 0.4 distribution.
Options:
VZ_VERSION=<published-version> — select a specific release.
VZ_NO_LINUX=1 — skip Linux kernel download.
Build from source
From the checkout, use the workspace's Rust toolchain and lockfile:
cargo build --manifest-path crates/Cargo.toml --locked --release \
-p vz-cli -p vz-runtimed
Source builds are development artifacts. Virtualization.framework tests require
signed binaries with the appropriate entitlements; the supported sandbox harness
below builds and signs its own test drivers. The old self-sign CLI command is
retired, not an installation prerequisite.
Build the primary Developer and secondary Hardened Linux bundles using the
explicit local Docker context and case-sensitive source pipeline documented in
linux/README.md. Docker is build infrastructure here, not a
substitute runtime or Docker compatibility evidence. Both profiles use the
pinned youki runtime, with verified source/artifact provenance.
Host and Machine-target roadmap
Status labels use the vocabulary of the machine-readable capability matrix,
config/host-target-capabilities-v0.4.json.
python3 -B scripts/check-capability-claims.py checks every label in this file
against that matrix; see the
marker convention.