GithubHelp home page GithubHelp logo

nathanleclaire / hyperkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moby/hyperkit

0.0 2.0 0.0 11.49 MB

A toolkit for embedding hypervisor capabilities in your application

Makefile 0.43% Groff 0.79% Shell 0.06% C 97.58% C++ 0.38% OCaml 0.77%

hyperkit's Introduction

Hyperkit is a toolkit for embedding hypervisor capabilities in your application. It includes a complete hypervisor, based on xhyve/bhyve, which is optimized for lightweight virtual machines and container deployment. It is designed to be interfaced with higher-level components such as the VPNKit and DataKit.

Hyperkit currently only supports Mac OS X using the Hypervisor.framework. It is a core component of Docker For Mac.

Requirements

  • OS X 10.10.3 Yosemite or later
  • a 2010 or later Mac (i.e. a CPU that supports EPT)

Usage

$ com.docker.hyperkit -h

Building

$ git clone https://github.com/docker/hyperkit
$ cd hyperkit
$ make

The resulting binary will be in build/com.docker.hyperkit

To enable qcow support in the block backend an OCaml OPAM development environment is required with the qcow-format module available. A suitable environment can be setup by installing opam via brew and using that to install the appropriate libraries:

$ brew install opam
$ opam init
$ eval `opam config env`
$ opam pin add qcow-format git://github.com/mirage/ocaml-qcow#master
$ opam install uri qcow-format

Notes:

  • opam config env must be evaluated each time prior to building hyperkit so the build will find the ocaml environment.
  • An explicit older version of sexplib is currently required to build qcow format 0.2

Relationship to xhyve and bhyve

Hyperkit includes a hypervisor derived from xhyve, which in turn was derived from bhyve. See the original xhyve README which incorporates the bhyve README.

We try to avoid deviating from these upstreams unnecessarily in order to more easily share code, for example the various device models/emulations should be easily shareable.

Reporting security issues

The maintainers take security seriously. If you discover a security issue, please bring it to their attention right away!

Please DO NOT file a public issue, instead send your report privately to [email protected].

Security reports are greatly appreciated and we will publicly thank you for it. We also like to send gifts—if you're into Docker schwag, make sure to let us know. We currently do not offer a paid security bounty program, but are not ruling it out in the future.

Copyright and license

Copyright the authors and contributors. See individual source files for details.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

hyperkit's People

Contributors

mist64 avatar xez avatar ijc avatar djs55 avatar alimoeeny avatar antoniomeireles avatar c4milo avatar sometimesfood avatar rickard-von-essen avatar burke avatar avsm avatar zaa avatar ailispaw avatar aflatter avatar amirmc avatar ekohl avatar jeremyhu avatar justincormack avatar magnuss avatar therealmarv avatar bonifaido avatar radupopescu avatar caglar10ur avatar delphij avatar practicalswift avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.