Giter Site home page Giter Site logo
MirageOS logo
Build Unikernels in OCaml

OCaml-CI Build Status docs


MirageOS is a library operating system that constructs secure, performant and resource-efficient unikernels.

About

MirageOS is a library operating system that constructs unikernels for secure, high-performance network applications across various cloud computing and mobile platforms. Developers can write code on a traditional OS such as Linux or macOS. They can then compile their code into a fully-standalone, specialised unikernel that runs under the Xen or KVM hypervisors and lightweight hypervisors like FreeBSD's BHyve, OpenBSD's VMM. These unikernels can deploy on public clouds, like Amazon's Elastic Compute Cloud and Google Compute Engine, or private deployments.

The most up-to-date documentation can be found at the homepage. The site is a self-hosted unikernel. Simpler skeleton applications are also available online. MirageOS unikernels repositories are also available here or there.

This repository

This repository contains the mirage command-line tool to create and deploy applications with MirageOS. This tool wraps the specialised configuration and build steps required to build MirageOS on all the supported targets.

Local install

You will need the following:

  • a working OCaml compiler (4.08.0 or higher).
  • the Opam source package manager (2.1.0 or higher).
  • an x86_64 or armel Linux host to compile Xen kernels, or FreeBSD, OpenBSD or MacOS X for the solo5 and userlevel versions.

Then run:

$ opam install mirage
$ mirage --version

This should display at least version 4.0.0.

Using mirage

There are multiple stages to using mirage:

  • write config.ml to describe the components of your applications;
  • call mirage configure to generate the necessary code and metadata;
  • optionally call make depends to install external dependencies and download Opam packages in the current dune workspace.
  • call dune build to build a unikernel.

You can find documentation, walkthroughs and tutorials over on the MirageOS website. The install instructions are a good place to begin!

MirageOS's Projects

alcotest icon alcotest

A lightweight and colourful test framework

arp icon arp

Address resolution protocol (ARP) implementation in OCaml targeting MirageOS

awa-ssh icon awa-ssh

Purely functional SSH library in ocaml.

bechamel icon bechamel

Agnostic benchmark in OCaml (proof-of-concept)

bloomf icon bloomf

Efficient Bloom filters for OCaml

ca-certs icon ca-certs

Detect root CA certificates from the operating system

ca-certs-nss icon ca-certs-nss

CA certificates extracted from NSS, to be used with MirageOS

colombe icon colombe

Implementation of SMTP protocols in OCaml

conan icon conan

Like detective conan, find clue about the type of the file

cowabloga icon cowabloga

Zurb Foundation templates for a blog/wiki using Cohttp

docs icon docs

docs.mirage.io generation scripts

duff icon duff

Pure OCaml implementation of libXdiff (Rabin's fingerprint)

either icon either

Compatibility module for Either in OCaml 4.12

eqaf icon eqaf

Constant time equal function to avoid timing attacks in OCaml

ethernet icon ethernet

Ethernet (IEEE 802.3) layer implementation for MirageOS in OCaml

ezjsonm icon ezjsonm

An easy interface on top of the Jsonm library.

ezxmlm icon ezxmlm

Like the tax form, this is an easier interface for quick n dirty XMLM scripts

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.