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 includes:
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 or use the Docker image.
Local install
You will need the following:
Docker image
There is a maintained Docker image at unikernel/mirage. You can also use the Dockerfile in this repository:
docker build -t mirage .
docker run -v <your-source>:/src opam config exec -- mirage
mirageThere are two stages to using mirage:
You can find documentation, walkthroughs and tutorials over on the MirageOS website. The install instructions are a good place to begin!
Content type
Image
Digest
sha256:530f1c90b…
Size
681.6 MB
Last updated
almost 9 years ago
docker pull avsm/mirage