includeos / hello_world

Basic IncludeOS example
Apache License 2.0
10 stars 7 forks source link

hello_world

Basic IncludeOS example

A basic example to demonstrate the open source unikernel project - IncludeOS.

The following steps let you build and boot this example with IncludeOS.

$ git clone https://github.com/includeos/hello_world.git
$ mkdir your_build_dir && cd "$_"
$ conan install ../hello_world -pr <your_conan_profile>
$ source activate.sh
$ cmake ../hello_world
$ cmake --build .
$ boot hello

Checkout out prepared conan profiles in the conan config repository. The README has information on which profile is suited for your environment.

For more advanced examples see the examples repo or the integration tests (under ./IncludeOS/test/*/integration).

Once you're done $ source deactivate.sh will reset the environment to its previous state.

If you have any questions, feel free to chat with us on Slack.