package mirage-types
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=73d3c7d0ce892e65a72ab5d951fb97a733d9b8fd358c3d17efd5e25145b07f07
md5=ab44f3a3071feaef7c655ef0b952dc95
Description
Module type definitions for MirageOS applications
README
MirageOS
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 or use the Docker image.
Local install
You will need the following:
a working OCaml compiler (4.04.2 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.
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
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!
Dependencies (15)
-
mirage-channel
>= "3.1.0" & < "4.0.0"
-
mirage-kv
>= "1.1.1" & < "2.0.0"
-
mirage-fs
>= "1.1.1" & < "3.0.0"
-
mirage-net
>= "1.2.0" & < "2.0.0"
-
mirage-block
>= "1.1.0" & < "2.0.0"
-
mirage-stack
>= "1.3.0" & < "2.0.0"
-
mirage-protocols
>= "1.4.1" & < "2.0.0"
-
mirage-console
>= "2.3.5" & < "3.0.0"
-
mirage-flow
>= "1.5.0" & < "2.0.0"
-
mirage-random
>= "1.2.0" & < "2.0.0"
-
mirage-clock
>= "2.0.0" & < "3.0.0"
-
mirage-time
>= "1.1.0" & < "2.0.0"
-
mirage-device
>= "1.1.0" & < "2.0.0"
-
dune
>= "1.1.0"
-
ocaml
>= "4.04.2"
Dev Dependencies
None
Used by (4)
- conan
- conan-cli
-
docteur-unix
< "0.0.3"
-
mirage-types-lwt
>= "3.0.0" & < "3.5.0"
Conflicts
None