{"id":13423413,"url":"https://github.com/moby/hyperkit","last_synced_at":"2025-03-15T17:31:43.889Z","repository":{"id":8633188,"uuid":"55985023","full_name":"moby/hyperkit","owner":"moby","description":"A toolkit for embedding hypervisor capabilities in your application","archived":false,"fork":false,"pushed_at":"2023-04-28T01:30:42.000Z","size":13102,"stargazers_count":3641,"open_issues_count":52,"forks_count":330,"subscribers_count":93,"default_branch":"master","last_synced_at":"2025-03-05T22:08:13.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-11T15:36:20.000Z","updated_at":"2025-03-05T20:39:48.000Z","dependencies_parsed_at":"2024-01-12T07:24:42.937Z","dependency_job_id":"2ce9cc5f-76f0-4bd0-84c8-ce6d88d06abc","html_url":"https://github.com/moby/hyperkit","commit_stats":{"total_commits":410,"total_committers":75,"mean_commits":5.466666666666667,"dds":0.7878048780487805,"last_synced_commit":"3cb0d5475244761c61e6fd4a562702c26b46f846"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moby%2Fhyperkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moby%2Fhyperkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moby%2Fhyperkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moby%2Fhyperkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moby","download_url":"https://codeload.github.com/moby/hyperkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766838,"owners_count":20344820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-07-31T00:00:33.955Z","updated_at":"2025-03-15T17:31:43.110Z","avatar_url":"https://github.com/moby.png","language":"C","readme":"## [HyperKit](http://github.com/moby/hyperkit)\n\n![Build Status macOS](https://circleci.com/gh/moby/hyperkit.svg?style=shield\u0026circle-token=cf8379b302eab2bbf33821cafe164dbefb71982d)\n\n*HyperKit* is a toolkit for embedding hypervisor capabilities in your application. It includes a complete hypervisor, based on [xhyve](https://github.com/mist64/xhyve)/[bhyve](http://bhyve.org), which is optimized for lightweight virtual machines and container deployment.  It is designed to be interfaced with higher-level components such as the [VPNKit](https://github.com/moby/vpnkit) and [DataKit](https://github.com/moby/datakit).\n\nHyperKit currently only supports macOS using the [Hypervisor.framework](https://developer.apple.com/library/mac/documentation/DriversKernelHardware/Reference/Hypervisor/index.html). It is a core component of Docker Desktop for Mac.\n\n\n## Requirements\n\n* OS X 10.10.3 Yosemite or later\n* a 2010 or later Mac (i.e. a CPU that supports EPT)\n\n## Reporting Bugs\n\nIf you are using a version of Hyperkit which is embedded into a higher level application (e.g. [Docker Desktop for Mac](https://github.com/docker/for-mac)) then please report any issues against that higher level application in the first instance. That way the relevant team can triage and determine if the issue lies in Hyperkit and assign as necessary.\n\nIf you are using Hyperkit directly then please report issues against this repository.\n\n## Usage\n\n    $ hyperkit -h\n\n## Building\n\n    $ git clone https://github.com/moby/hyperkit\n    $ cd hyperkit\n    $ make\n\nThe resulting binary will be in `build/hyperkit`\n\nTo enable qcow support in the block backend an OCaml [OPAM](https://opam.ocaml.org) development\nenvironment is required with the qcow module available. A\nsuitable environment can be setup by installing `opam` and `libev`\nvia `brew` and using `opam` to install the appropriate libraries:\n\n    $ brew install opam libev\n    $ opam init\n    $ eval `opam env`\n    $ opam pin add qcow.0.11.0 git://github.com/mirage/ocaml-qcow -n\n    $ opam pin add qcow-tool.0.11.0 git://github.com/mirage/ocaml-qcow -n\n    $ opam install uri qcow.0.11.0 conduit.2.1.0 lwt.5.3.0 qcow-tool mirage-block-unix.2.12.0 conf-libev logs fmt mirage-unix prometheus-app\n\nNotes:\n\n- `opam config env` must be evaluated each time prior to building\n  hyperkit so the build will find the ocaml environment.\n- Any previous pin of `mirage-block-unix` or `qcow`\n  should be removed with the commands:\n  \n  ```sh\n  $ opam update\n  $ opam pin remove mirage-block-unix\n  $ opam pin remove qcow\n  ```\n\n## Tracing\n\nHyperKit defines a number of static DTrace probes to simplify investigation of\nperformance problems. To list the probes supported by your version of HyperKit,\ntype the following command while HyperKit VM is running:\n\n     $ sudo dtrace -l -P 'hyperkit$target' -p $(pgrep hyperkit)\n\nRefer to scripts in dtrace/ directory for examples of possible usage and\navailable probes.\n\n### Relationship to xhyve and bhyve\n\nHyperKit includes a hypervisor derived from [xhyve](http://www.xhyve.org), which in turn\nwas derived from [bhyve](http://www.bhyve.org). See the [original xhyve\nREADME](README.xhyve.md) which incorporates the bhyve README.\n\nWe try to avoid deviating from these upstreams unnecessarily in order\nto more easily share code, for example the various device\nmodels/emulations should be easily shareable.\n\n### Reporting security issues\n\nThe maintainers take security seriously. If you discover a security issue,\nplease bring it to their attention right away!\n\nPlease **DO NOT** file a public issue, instead send your report privately to\n[security@docker.com](mailto:security@docker.com).\n\nSecurity reports are greatly appreciated and we will publicly thank you for it.\nWe also like to send gifts\u0026mdash;if you're into Docker schwag, make sure to let\nus know. We currently do not offer a paid security bounty program, but are not\nruling it out in the future.\n","funding_links":[],"categories":["C","Install from Source","Other Linear Topics","OpenCL Tools, Libraries and Frameworks","Prepare working environment with Docker","Virtualization","\u003ca id=\"1d9dec1320a5d774dc8e0e7604edfcd3\"\u003e\u003c/a\u003e工具-新添加的","Fabrics","Interfaces"],"sub_categories":["Virtualization","viii. Linear Regression","\u003ca id=\"8f1b9c5c2737493524809684b934d49a\"\u003e\u003c/a\u003e文章\u0026\u0026视频"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoby%2Fhyperkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoby%2Fhyperkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoby%2Fhyperkit/lists"}