unikraft/kraftkit
unikraft/kraftkit has 453 GitHub stars and 121 forks. Star changes are not measured yet. Last checked 2026-11-13 18:50 UTC. Last push 2026-11-13.
What you can do
- 🚧 Build, run and package unikernel VMs;
- 🐳 Use existing Dockerfiles and Composefiles;
- 📚 Fetch and run pre-built unikernel from the app catalog;
- 🔥 Run unikernel VMs using QEMU, Xen and Firecracker MicroVM;
Measured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Build and use highly customized and ultra-lightweight unikernel VMs.
Developer ToolsREADME.md
OriginalKraftKit 🚀🐒🧰
KraftKit provides a suite of tools and Go-based framework for building custom, minimal, immutable lightweight unikernel virtual machines based on unikraft.org: a fast, secure and open-source library operating system.
[!NOTE] This repository is specific to the Unikraft unikernel, it is not Unikraft Cloud's CLI. Unikraft Cloud is a separate platform that runs microVMs, with its own CLI and commands. For the Unikraft Cloud CLI, see the
unikraftCLI documentation.

With KraftKit, you can easily leverage Unikraft and manage specialized, high-performance applications at every stage of their lifecycle: from construction to production.
- Getting started guide 📖
- Key differences between containers and unikernels 🤔
- Join
#kraftkiton Unikraft's Community Discord 👾
There are many benefits in running your application as a unikernel: for more information about the performance of unikernels 🚀, the added security 🔒 and a positive impact on the environment 🌱 please check out Unikraft's documentation and the introductory chapters on these impacts
Features
- 🚧 Build, run and package unikernel VMs;
- 🐳 Use existing Dockerfiles and Composefiles;
- 📚 Fetch and run pre-built unikernel from the app catalog;
- 🔥 Run unikernel VMs using QEMU, Xen and Firecracker MicroVM;
- 🤹♀️ Daemonless unikernel local VM instance manager;
- ⛅️ Deploy unikernel VMs to the cloud;
- 🍎 Native Linux, macOS and Windows support;
- 📦 Package and push unikernels in OCI format for easy distribution;
- 🚜 ELF binary / POSIX-compatibility support;
- 🧰 Go SDK for building unikernels programmatically; and
- 🚀 much more!
Installation
You can quickly and easily install KraftKit using the interactive installer. Run the following command to get started:
curl --proto '=https' --tlsv1.2 -sSf https://get.kraftkit.sh | sh
Alternatively, you can download the binaries from the releases pages.
See additional installation instructions.
See also the hacking documentation on how to build KraftKit from source.
Container build environment
KraftKit ships a container build environment which you can use instead of installing any dependencies directly on your host.
It includes the kraft binary as well as all the additional tools and libraries for building Unikraft unikernels.
Attach a working directory on your host as a mount path volume mapped to /workspace, e.g.:
docker run -it --rm -v $(pwd):/workspace --entrypoint bash kraftkit.sh/base:latest
The above command will drop you into a container shell.
Type exit or Ctrl+D to quit.
Quickstart
Test your installation
Running unikernels with kraft is designed to be simple and familiar.
To test your installation of kraft, you can run the following:
kraft run unikraft.org/helloworld:latest
Build your first unikernel
Building unikernels is also designed to be simple. Build your first unikernel
by placing a Kraftfile into your repo and pointing it to your existing
Dockerfile:
spec: v0.6
runtime: base:latest
rootfs: ./Dockerfile
cmd: ["/path/to/my-server-app"]
Once done, invoke:
kraft run .
Examples and pre-built images
You can find some common project examples below:
Find more examples and applications in our community catalog!
Use in GitHub Actions
KraftKit can be used to automatically build your application into a unikernel in a GitHub Actions workflow, "use" unikraft/kraftkit@staging.
In the following example, a repository that has been initialized with a top-level Kraftfile that contains a target for qemu/x86_64 will be built every time a PR is opened, synchronized or re-opened:
name: example
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
steps:
- uses: actions/checkout@v4
- uses: unikraft/kraftkit@staging
with:
workdir: .
kraftfile: Kraftfile
arch: x86_64
plat: qemu
For other CI's and integrations, including GitLab, check out the getting started guide.
Compatibility
| Hypervisor | Supported Version |
|---|---|
| Xen | <= 4.19 |
| QEMU | <= 9.2.1 && >= 4.2.0 |
| Firecracker | >= 1.4.1 |
| QEMU | Firecracker | Xen | containerd | |
|---|---|---|---|---|
linux/amd64 |
✅ | ✅ | ✅ | ✅ |
linux/arm64 |
✅ | ✅ | -- | ✅ |
darwin/amd64 |
✅ | -- | -- | ✅ |
darwin/arm64 |
✅ | -- | -- | ✅ |
freebsd/amd64 |
✅ | -- | -- | ✅ |
freebsd/arm64 |
✅ | -- | -- | ✅ |
netbsd/amd64 |
✅ | -- | -- | -- |
netbsd/arm64 |
✅ | -- | -- | -- |
openbsd/amd64 |
✅ | -- | -- | -- |
openbsd/arm64 |
✅ | -- | -- | -- |
Support, Community & Meetings
If you have any further questions or need more information about KraftKit or Unikraft, please refer to the official Unikraft documentation or ask for help on the Unikraft community forum.
A KraftKit Working Group (WG) meets every other Wednesday at 13:00 PM (CET) on Discord. Invites and additional details are available on the Unikraft OSS Public calendar.
License
KraftKit is part of the Unikraft OSS Project and licensed under BSD-3-Clause.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
562,314 starspublic-apis/public-apis
A collective list of free APIs
498,749 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
457,262 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,384 stars