Skip to content

Unikernel-code and information to get up and running with MirageOS

License

Notifications You must be signed in to change notification settings

rand00/mirage_hands-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MirageOS hands-on

In this main README.md you find the general links and setup instructions for getting to an initial environment for running Mirage unikernels. You will find further specific instructions inside the unikernels directories.

Setup

Common Mirage unikernel development workflow

mirage cleanup
mirage configure --net=socket -t unix   # here several possible configuration-options exist
make depend   
make
./your-unikernel   # run the unikernel (will be named what you specified in config.ml)

If you have already run the previous once, and have not added any new packages to the dependencies in config.ml, you can just run make && ./your-unikernel. Else for major changes to config.ml you need to run the whole clean-config-depend-make chain.

./your-unikernel --help   # to open the custom man-page for your own unikernel (:

Helpful Mirage development links

  • Types for arguments of your 'Main' functor: http://docs.mirage.io/mirage-types-lwt/Mirage_types_lwt/index.html
  • Search for Opam packages: https://opam.ocaml.org/packages/
    • Find links to the packages documentation from here, or read the *.mli files contained in your local opam folder with libraries (they are usually well documented). Find this folder with opam var lib.
  • Mirage modules documentation: http://mirage.github.io/mirage/
    • Note that Mirage depends on other libraries in some of the module interfaces, so when you see a line in a Mirage module like include Functoria.KEY, this means that the types in the Functoria.KEY module are also part of the current module. Therefore also lookup the documentation for Functoria if you want to understand the full interface.

Links for further reading

Pioneer projects to contribute to on MirageOS

See https://github.com/mirage/mirage-www/wiki/Pioneer-Projects

Projects using Mirage

Interesting libraries

About

Unikernel-code and information to get up and running with MirageOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published