linuxkit VS unikraft

Compare linuxkit vs unikraft and see what are their differences.

linuxkit

A toolkit for building secure, portable and lean operating systems for containers (by linuxkit)

unikraft

A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings. (by unikraft)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
linuxkit unikraft
14 26
8,133 2,287
0.6% 18.5%
9.2 9.8
8 days ago about 13 hours ago
Go C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

linuxkit

Posts with mentions or reviews of linuxkit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • Gokrazy – Go Appliances
    9 projects | news.ycombinator.com | 18 Dec 2023
    Another project that aims to deliver this is Linuxkit (https://github.com/linuxkit/linuxkit). All the components they ship are written in memory safe languages (usually Go) and run as containers under containerd. You can build a custom image very easily, fully defined as a YAML file.
  • How to connect to a docker container service when it's running on a mac?
    2 projects | /r/selfhosted | 12 Apr 2023
  • An overview of single-purpose Linux distributions
    4 projects | news.ycombinator.com | 17 Feb 2023
    docker-the-company maintained https://github.com/linuxkit/linuxkit when I worked there. I have no idea who maintains it now, but it looks like it is still active (presumably still docker-the-company, since their adopters list [1] lists docker desktop).

    [1]: https://github.com/linuxkit/linuxkit/blob/master/ADOPTERS.md

  • Create a minimalist OS using Docker Containers and Hashicorp Packer
    3 projects | dev.to | 18 Sep 2022
    LF-Edge EVE project leverages Linuxkit to create custom OSs for Edge Devices which in turn leverages Containers as Lego Blocks
  • RootFS Tooling
    6 projects | /r/LinuxNotes | 14 Nov 2021
    LinuxKit - Docker
  • Unpopular opinion: I was promised lightweight containers but I got yet another VM
    1 project | /r/devops | 27 Oct 2021
    Behind the scenes Docker Desktop for Mac spawns a linuxkit VM with a bit of extra stuff like NFS to enable mounting Mac paths into containers. In the Docker Desktop settings you'll find the current resource assignment for that VM. That is pretty much reserved for docker so that it does not have to compete with MacOS processes for available resources.
  • Open source components of Docker for Mac
    1 project | news.ycombinator.com | 4 Sep 2021
  • What happened to the nice Ansible cloud (provisioning) listing?
    2 projects | /r/ansible | 3 Aug 2021
    That said... you might want to check out linuxkit
  • Ask HN: How are you using unikernels?
    8 projects | news.ycombinator.com | 27 May 2021
    The definition of what a unikernel is needs to be narrowed down, a lot of these projects in the space (not all the ones listed above) have material differences that are not clear:

    - some run only one language

    - some require recompilation

    - some essentially swap out libraries, others do something closer to dropping your already mostly static binary in a minimal disk image

    - some build pid1 processes, others VMs images

    Anyway, here are some additional entries in the space:

    - https://ssrg-vt.github.io/hermitux/

    - https://github.com/linuxkit/linuxkit (more embedded/minimal VM than unikernel)

    - https://nabla-containers.github.io/ (runs on Solo5)

    I am going through using Linuxkit to build AMIs for cloud providers now. I wouldn’t necessarily class linuxkit as a universal project because it doesn’t have the hallmark blurring of user and kernel space or kernel-as-a-library but you can customize the kernel so it’s an adjacent idea, and I think it’s the one most likely to be in actual use at non-hyperscalers.

  • Unikraft: Fast, Specialized Unikernels the Easy Way
    5 projects | news.ycombinator.com | 27 Apr 2021
    I believe there is growing interest in providing leaner, "trimmed" runtimes for services deployed to the cloud. Today, this is seen largely by specializing the Linux kernel for, for example, container services[0] or in general[1], as much as that is possible (the paper above covers this problem in greater detail). But, Unikernels in themselves are not yet widely adopted. This is the space Unikraft is aiming to enter, providing the ultimate level of specialization for a target application.

    It's clear that bigger players, such as Red Hat[2] are interested in the topic of unikernels, and that cloud providers are preparing for this future too [3].

    [0]: https://github.com/linuxkit/linuxkit

unikraft

Posts with mentions or reviews of unikraft. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.
  • KraftCloud
    2 projects | news.ycombinator.com | 1 Apr 2024
  • Mirage – A programming framework for building type-safe, modular systems
    10 projects | news.ycombinator.com | 23 Nov 2023
  • Building a unikernel that runs WebAssembly – part 1
    5 projects | news.ycombinator.com | 23 Oct 2023
    You should also probably check out Unikraft (https://unikraft.org) , supports many languages/apps, x86/ARM64 and QEMU/Firecracker. Is also able to run an ELF built under Linux as a unikernel (see https://unikraft.org/guides/bincompat). Discord is at https://unikraft.org/discord .
  • Unikraft is a fast, secure and open-source Unikernel Development Kit
    1 project | news.ycombinator.com | 15 Oct 2023
    1 project | news.ycombinator.com | 7 Sep 2023
  • What Is a Unikernel?
    2 projects | news.ycombinator.com | 4 Aug 2023
    >"For performance-oriented UDP-based apps, much of the OS networking stack is useless:

    the app could simply use the driver API, much like DPDK-style applications already do.

    There is currently no way to easily remove just the network stack but not the entire network sub-system from standard OSes."

    This page is a great read for any current or future OS developer...

    Related:

    "Unikraft is a fast, secure and open-source Unikernel Development Kit":

    https://unikraft.org/

    "Unikraft is an automated system for building specialized OSes known as unikernels."

    https://github.com/unikraft/unikraft

  • Build Your Own Docker with Linux Namespaces, Cgroups, and Chroot
    6 projects | news.ycombinator.com | 26 Jun 2023
    unikernel is not the same microkernel.

    I've found these after some quick googling:

    https://unikraft.org/

  • I don't believe in the success of wasm
    1 project | /r/kubernetes | 18 Dec 2022
    Check out https://github.com/unikraft/unikraft
  • A future without containers? ( thoughts )
    6 projects | /r/freebsd | 10 Nov 2022
    Wow, just now seeing this topic. I work for a cloud company hosted in AWS. We started out, Netflix/Spotify style microservices. We were all on ec2 images generate by packer (and later with AWS Image Factory). When Docker hit, we kicked the tires but never did anything with it beyond using it for running unit tests, and later, infrastructure tests. 5 years ago, during a hackathon, our little group began experimenting with Unikernels, or library operating systems. Interestingly enough, these Unikernels were all stripped down BSD kernels. OSv is FreeBSD based, and Rumprun is NetBSD based. Services running in EC2 on Unikernels would spin up and start sending and receiving traffic before the AWS EC2 healthchecks completed. They are blazing fast! Only problem in 2017, was the tooling. It would have taken too much effort to use Unikernals with our infrastructure. As soon as they start making Unikernels that can run Java bytecode like native code, the fate of containerization will be sealed, IMO. We could get basic JVM webservers running on OSv, but not Cassandra, not Kafka, not yet. OSv now runs on Firecracker, but I have not tried it out, yet. Some links if you are interested: OSv: https://osv.io Rumprun: https://github.com/rumpkernel/rumprun We used this tooling during the Hackathon, but doesn't look like it has been touched in 3 years: https://github.com/solo-io/unik Unikraft Unikernel Dev kit: https://unikraft.org/ And don't forget Firecracker running in Kubernetes https://www.weave.works/oss/firekube/ And of course, being a FreeBSD subreddit, let's not forget FreeBSD on Firecracker https://www.daemonology.net/blog/2022-10-18-FreeBSD-Firecracker.html
  • Linux as single app ?
    5 projects | /r/linuxquestions | 21 Aug 2022
    and Unikraft

What are some alternatives?

When comparing linuxkit and unikraft you can also consider the following projects:

nanos - A kernel designed to run one and only one application in a virtualized environment

lxd - Powerful system container and virtual machine manager [Moved to: https://github.com/canonical/lxd]

mirage - MirageOS is a library operating system that constructs unikernels

unik - The Unikernel & MicroVM Compilation and Deployment Platform

kata-containers - Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/

distroless - 🥑 Language focused docker images, minus the operating system.

firecracker-container

riscv-rust - RISC-V processor emulator written in Rust+WASM

kubevirt - Kubernetes Virtualization API and runtime in order to define and manage virtual machines.

rusty-hermit - Hermit for Rust. [Moved to: https://github.com/hermit-os/hermit-rs]