An open API service indexing awesome lists of open source software.

https://github.com/unikraft/app-helloworld-go

kraft-ready repo for building Go applications with Unikraft
https://github.com/unikraft/app-helloworld-go

golang unikernel unikraft-application

Last synced: 11 months ago
JSON representation

kraft-ready repo for building Go applications with Unikraft

Awesome Lists containing this project

README

          

# Unikraft Go "hello world" Application

This application prints "hello world" using go.

To configure, build and run this application you need to have [kraft](https://github.com/unikraft/kraft) installed.

Configure the application:
```
kraft configure
```

Build the application:
```
kraft build
```

And finally, run the application:
```
kraft run -M 512
```

If you want to have more control, you can configure and run the application manually.

To configure it with the desired features:
```
make menuconfig
```

Build the application:
```
make
```

Run the application:
```
sudo qemu-system-x86_64 \
-kernel build/helloworld-go_kvm-x86_64 \
-enable-kvm \
-m 1G \
-nographic

```

For more information about `kraft` type ```kraft -h``` or read the
[documentation](http://docs.unikraft.org).