Coder Social home page Coder Social logo

sorenericment / kraftkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unikraft/kraftkit

0.0 0.0 0.0 11.65 MB

Build and use highly customized and ultra-lightweight unikernel VMs.

Home Page: https://kraftkit.sh

License: BSD 3-Clause "New" or "Revised" License

Shell 3.19% Go 95.04% Makefile 0.65% Dockerfile 1.12%

kraftkit's Introduction

KraftKit ๐Ÿš€๐Ÿ’๐Ÿงฐ

Go Report Card Latest release

KraftKit provides a suite of tools and Go-based framework for building custom, minimal, immutable lightweight unikernel virtual machines based on Unikraft: a fast, secure and open-source library operating system.

With KraftKit, you can easily leverage Unikraft and manage specialized, high-performance applications at every stage of their lifecycle: from construction to production.

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

  • ๐Ÿ”ฅ Native Firecracker MicroVM support;
  • ๐Ÿ“š Pre-built unikernel app catalog;
  • ๐Ÿคนโ€โ™€๏ธ Daemonless unikernel VM instance manager;
  • ๐Ÿ“ฆ OCI packaging and distribution support;
  • ๐Ÿšœ 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. Simply 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.

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. Simply 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. Simply type exit or Ctrl+D to quit.

Quickstart

Building a unikernel with KraftKit is designed to be simple.

Add a Kraftfile to your project directory, which specifies the libraries needed for your unikernel:

specification: v0.5

unikraft: stable

libraries:
  musl: stable

targets:
  - name: default
    architecture: x86_64
    platform: qemu

You can also add an additional Makefile.uk which specifies any source files:

$(eval $(call addlib,apphelloworld))

APPHELLOWORLD_SRCS-y += $(APPHELLOWORLD_BASE)/main.c

Then it is a case of running:

cd path/to/workdir

kraft pkg update
kraft build

You can run your unikernel using:

kraft run

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 Wednesday at 12:30 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.

kraftkit's People

Contributors

nderjung avatar craciunoiuc avatar antoineco avatar dependabot[bot] avatar jake-ciolek avatar lucaseri avatar marcrittinghaus avatar stefanjum avatar razvand avatar mdsahil-oss avatar ls-1801 avatar theapemachine avatar gabrielmocanu avatar sorenericment avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.