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
- Host: GitHub
- URL: https://github.com/unikraft/app-helloworld-go
- Owner: unikraft
- Created: 2020-02-13T13:41:16.000Z (over 6 years ago)
- Default Branch: stable
- Last Pushed: 2023-10-23T09:06:45.000Z (over 2 years ago)
- Last Synced: 2025-04-10T17:43:33.093Z (about 1 year ago)
- Topics: golang, unikernel, unikraft-application
- Language: Go
- Size: 8.79 KB
- Stars: 16
- Watchers: 8
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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).