MirageOS is a library operating system that constructs unikernels
ISC License
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 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:
Then run:
$ opam install mirage
$ mirage --version
This should display at least version 4.0.0
.
mirage
There are multiple stages to using mirage
:
config.ml
to describe the components of your applications;mirage configure
to generate the necessary code and metadata;make depends
to install external dependencies anddune 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!