package mirage-runtime

  1. Overview
  2. Docs
The base MirageOS runtime library, part of every MirageOS unikernel

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-4.3.6.tbz
sha256=8bfe6c6477f1102a0a60c7468def94db5196c49e9d0d9ade55c406b5bba8e121
sha512=21bde27635a66fd0526f1c2853a03ea1bcf1c8ed450881381f76e9fc098c3799f76f7ca5b6d98dd77e03c454e8b6d19fcf3adbd27b69ed25b6ce0afa2e42a75a

Description

A bundle of useful runtime functions for applications built with MirageOS

Tags

org:mirage org:xapi-project

Published: 29 Mar 2023

README

README.md

MirageOS logo
Build Unikernels in OCaml


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!

Dependencies (7)

  1. lwt >= "4.0.0"
  2. logs
  3. fmt >= "0.8.4"
  4. functoria-runtime = version
  5. ipaddr >= "5.0.0"
  6. dune >= "2.9.0"
  7. ocaml >= "4.08.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (10)

  1. conan >= "0.0.2"
  2. conan-cli >= "0.0.2"
  3. mirage = "4.3.6"
  4. mirage-crypto-pk >= "0.10.3" & < "0.11.0"
  5. mirage-crypto-rng-mirage
  6. mirage-entropy = "0.5.0"
  7. mirage-monitoring >= "0.0.3" & < "0.0.5"
  8. mirage-solo5 >= "0.6.1"
  9. mirage-unix >= "4.0.0"
  10. mirage-xen >= "5.0.0"

Conflicts (2)

  1. ppxlib = "0.29.0"
  2. result < "1.5"
OCaml

Innovation. Community. Security.