mirage

The MirageOS library operating system
README

MirageOS is a library operating system that constructs unikernels for secure,
high-performance network applications across a variety of cloud computing and
mobile platforms. Code can be developed on a traditional OS such as Linux or
MacOS X, and then compiled into a fully-standalone, specialised unikernel that
runs under the Xen or KVM hypervisors as well as lightweight hypervisors like
FreeBSD's BHyve, OpenBSD's VMM. Xen and KVM power many public clouds;
MirageOS unikernels are currently running on Amazon's Elastic Compute Cloud
and Google Compute Engine, and maybe others!

The most up-to-date documentation can be found at the
homepage. The site is a Xen hosted unikernel.
Simpler skeleton applications are also
available online.


This repository

This repository includes:

  • a command-line tool to create and deploy applications with MirageOS; and

  • in types/, a library of type signatures that compliant applications use.

There are several diverse backends in MirageOS that require rather specialised
build steps (from Xen to KVM unikernels), and this complexity is wrapped
up in the tool.

To work with mirage, you'll need to either install prerequisites
locally.

Local install

You will need the following:

  • a working OCaml compiler (4.05.0 or higher).

  • the OPAM source package manager (2.0.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.

Using mirage

There are two stages to using mirage:

  • a configure phase where necessary code is generated and dependencies are determined.

  • an optional depends phase where OPAM package dependencies are satisfied.

  • a build phase where the compiler and any support scripts are run.

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

Install
Published
22 Dec 2021
Sources
mirage-v3.10.8.tbz
sha256=135d86ca74e68ddb61d4ef304d43fb951a10b7cbc488bf3d638fca4294016fb4
sha512=beaaa4e238bd5d785f073e62c3ebaa71a1f0e7f7287be73106ba5c20f3b3bc6cfe6825700521ce39dfed92f12857296a9137673e89e112d1461df02df070a6ca
Dependencies
fmt
>= "0.8.7"
mirage-runtime
= version | (>= "3.10.0" & < "3.11.0")
functoria
>= "3.1.0" & < "4.0"
ipaddr
>= "5.0.0"
dune
>= "2.0"
ocaml
>= "4.08.0"
Reverse Dependencies