{"id":50746354,"url":"https://github.com/rtgnx/vzrun","last_synced_at":"2026-06-10T21:30:38.065Z","repository":{"id":358912733,"uuid":"1243490367","full_name":"rtgnx/vzrun","owner":"rtgnx","description":"Fast, lightweight Linux VMs on macOS, built from OCI images with Virtualization.framework","archived":false,"fork":false,"pushed_at":"2026-05-19T14:57:03.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-19T17:58:56.158Z","etag":null,"topics":["docker-image","go","linux","macos","microvm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtgnx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T11:45:19.000Z","updated_at":"2026-05-19T15:12:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rtgnx/vzrun","commit_stats":null,"previous_names":["rtgnx/vzrun"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rtgnx/vzrun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtgnx%2Fvzrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtgnx%2Fvzrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtgnx%2Fvzrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtgnx%2Fvzrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtgnx","download_url":"https://codeload.github.com/rtgnx/vzrun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtgnx%2Fvzrun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34172196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","go","linux","macos","microvm"],"created_at":"2026-06-10T21:30:36.026Z","updated_at":"2026-06-10T21:30:38.059Z","avatar_url":"https://github.com/rtgnx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vzrun\n\nFast, lightweight Linux VMs on macOS, built from OCI images and powered by\nApple's `Virtualization.framework`.\n\n`vzrun` is an experimental VM runner with a small daemon/CLI split:\n\n- `vzd` owns VM lifecycle, storage, networking, and console sessions.\n- `vz` talks to `vzd` over a local Unix socket.\n- root filesystems are generated from OCI/Docker images.\n- guests boot through a small custom init flow.\n\nThe goal is a Firecracker-style workflow, but native to macOS.\n\n## Status\n\nThis project is early alpha. The current path is useful for local experiments\nand VM/container runtime work, but the interface and on-disk layout may still\nchange.\n\nImplemented:\n\n- create, start, stop, restart, delete, and list VMs\n- OCI image fetch and cached root filesystem generation\n- Apple Virtualization NAT networking\n- serial console log streaming with a bounded in-memory buffer\n- interactive console attach\n- custom arm64 Linux kernel and initrd build path\n\nNot implemented yet:\n\n- persistent volumes\n- host port forwarding / service exposure\n- packaged LaunchAgent install flow for `vzd`\n- signed and notarized GitHub releases\n\n## Requirements\n\n- macOS on Apple Silicon\n- Go\n- Docker, used to build the custom Linux kernel\n- Xcode command line tools, used by `codesign`\n\n`vzd` must be signed with the Apple Virtualization entitlement. The Makefile\ncurrently uses local ad-hoc signing with `virtualization.entitlements`.\n\n## Build\n\n```sh\nmake all\n```\n\nThis builds:\n\n- `bin/vz`\n- `bin/vzd`\n- `internal/initd/boot/Image`\n- `internal/initd/boot/initrd.cpio`\n\n## Usage\n\nStart the daemon:\n\n```sh\nbin/vzd\n```\n\nIn another shell, create and start a VM:\n\n```sh\nbin/vz create --cpu 1 --memory 1 --name busybox busybox:stable\nbin/vz start -i -t busybox\n```\n\nUseful commands:\n\n```sh\nbin/vz ps\nbin/vz logs busybox\nbin/vz attach busybox\nbin/vz stop busybox\nbin/vz delete busybox\n```\n\n`vz start -i NAME` streams console output after starting the VM.\n\n`vz start -i -t NAME` starts the VM and attaches stdin/stdout to the serial\nconsole. `Ctrl-D` detaches.\n\n`vz attach NAME` attaches to an existing VM console.\n\n## Storage\n\nBy default, `vzd` stores state under:\n\n```text\n~/.vzrun\n```\n\nThis includes cached OCI artifacts, generated root filesystems, VM configs,\nkernel/initrd files, and the daemon socket.\n\n## Roadmap\n\n- persistent volumes\n- service exposure and port forwarding\n- Tailscale Service VIP support\n- LaunchAgent install/uninstall commands\n- signed release packaging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtgnx%2Fvzrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtgnx%2Fvzrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtgnx%2Fvzrun/lists"}