Rust Containers

Open-source Rust projects categorized as Containers

Top 23 Rust Container Projects

  • firecracker

    Secure and fast microVMs for serverless computing.

    Project mention: We Replaced Firecracker with QEMU | news.ycombinator.com | 2023-07-10

    Dynamic memory management - Firecracker's RAM footprint starts low, but once a workload inside allocates RAM, Firecracker will never return it to the host system. After running several workloads inside, you end up with an idling VM that consumes 32 GB of RAM on the host, even though it doesn't need any of it.

    Firecracker has a balloon device you can inflate (ie: acquire as much memory inside the VM as possible) and then deflate... returning the memory to the host.

    https://github.com/firecracker-microvm/firecracker/blob/main...

  • bottlerocket

    An operating system designed for hosting containers

    Project mention: Bottlerocket – Minimal, immutable Linux OS with verified boot | news.ycombinator.com | 2023-09-23

    It means there is a full trusted boot chain from the TPM to loading the immutable root filesystem: https://github.com/bottlerocket-os/bottlerocket/blob/develop...

    Regular Linux distributions don't have this, even if Secure Boot is enabled: https://0pointer.net/blog/brave-new-trusted-boot-world.html

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • min-sized-rust

    🦀 How to minimize Rust binary size 📦

    Project mention: How to minimize Rust binary size | news.ycombinator.com | 2023-08-23
  • youki

    A container runtime written in Rust

    Project mention: Kubernetes for Developers | /r/kubernetes | 2023-07-10

    There are ton of optimizations that could be applied to kubernetes itself, including some custom CRI's (youki cri etc), read-only fs handling (erofs etc), and stacked CNI's on top of SR-IOV and Multus. Gluing it all together can be a real pain.

  • 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/

    Project mention: Kata Containers: Virtual Machines (VMs) that feel and perform like containers | news.ycombinator.com | 2023-07-17

    > Last time I looked (a few months ago), the documentation was pretty sparse or outdated.

    It still is, though it works somewhat seamlessly when installing with https://github.com/kata-containers/kata-containers/blob/main...

    Though only one of the hypervisors works well.

  • habitat

    Modern applications with built-in automation

    Project mention: 42 Companies using Rust in production | dev.to | 2022-10-12

    And many more such as Scaleway, Oxide, Fuchsia, MeiliSearch, Vector, embark, Chef, BBC...

  • vagga

    Vagga is a containerization tool without daemons

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • aurae

    Distributed systems runtime daemon written in Rust.

    Project mention: Kris Nova Passed Away | news.ycombinator.com | 2023-08-20

    Her recent project - https://github.com/aurae-runtime/aurae

  • docker-compose-wait

    A simple script to wait for other docker images to be started while using docker-compose (or Kubernetes or docker stack or whatever)

    Project mention: Azure CD via Pipelines/Docker | /r/ProWordPress | 2023-05-08

    FROM wordpress:cli # Install make tool USER root RUN apk add --no-cache make # Make docker-compose wait for container dependencies be ready # Add the wait script to the image ENV WAIT_VERSION 2.7.2 ADD https://github.com/ufoscout/docker-compose-wait/releases/download/$WAIT_VERSION/wait /wait RUN chmod +x /wait # Add Makefile to scripts dir ADD Makefile entrypoint.sh /scripts/ RUN chmod +x /scripts/entrypoint.sh ENTRYPOINT [ "/scripts/entrypoint.sh" ] USER 33:33 CMD ["wp", "shell"]

  • toast

    Containerize your development and continuous integration environments. 🥂 (by stepchowfun)

    Project mention: Taskfile: A Modern Alternative to Makefile | news.ycombinator.com | 2023-07-16

    This looks a lot like Toast [1], except that Toast runs your tasks in a (more) reproducible containerized environment to help eliminate the "works on my machine" problem.

    [1] https://github.com/stepchowfun/toast

  • kuasar

    A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.

    Project mention: The advantage of WASM compared with container runtimes | news.ycombinator.com | 2023-05-28

    Right now most early examples alas boot a container with a wasm runtime for each wasm instance, which is a sad waste. The whole advantage of wasm should be very lightweight low overhead wasm runtime instances atop a common wasm process. Having a process or container for each instance loses a ton of the benefit, makes it not much better than a regular container.

    Thankfully there is work like the Containerd Sandbox API which enables new architectures like this. https://github.com/containerd/containerd/issues/4131

    It's still being used to spawn a wasm processes per instance for now, but container runtime project Kuasar is already using the Sandbox API to save significant resources, and has already chimed in in comments on HN to express a desire to have shared-process/multi-wasm-instamxe runtimes, which could indeed allow sub ms spawning that could enable instance per request architectures. https://github.com/kuasar-io/kuasar

  • trow

    Container Registry and Image Management for Kubernetes Clusters

  • Mayastor

    A cloud native declarative data plane in containers for containers

    Project mention: Open source cloud file system. Posix, HDFS and S3 compatible | news.ycombinator.com | 2023-02-08

    What I really want is a filesystem I can span across geographically remote nodes that's transparently compatible. I should just be able to chuck files into it from my NAS like any other. I think Mayastor [1] might get some of the way there?

    [1] https://github.com/openebs/mayastor

  • nanocl

    Distributed System that simplifies the management of containers and virtual machines.

    Project mention: What are you rewriting in rust? | /r/rust | 2023-07-10

    Kubernetes (sorta) https://github.com/nxthat/nanocl It's still in early stages rn but always looking for more contributors!

  • vas-quod

    :aerial_tramway: Minimal linux container runtime

  • dockeye

    GUI app for managing Docker/Podman

  • staticvec

    Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.

    Project mention: Posting asking if the Rust Reddit community is overly regulated gets regulated. | /r/programmingcirclejerk | 2023-05-27

    This crate of mine for example is currently literally unusable until the deeply fundamental features that John Random kinda-sorta removed in this pull request, ostensibly in preparation for whatever shittily stated syntax is ultimately establihed by whatever the hell "keyword generics" actually is (I really don't know, like this isn't a joke, I fundamentally do not understand what the fuck they're proposing at all in any way or how it's meaningfully and usefullly different from the previous syntax).

  • stevedore

    🚢 Docker distribution for Windows Containers that Just Works

  • rash

    Declarative shell scripting using Rust native bindings inspired by Ansible (by rash-sh)

  • containrs

    General purpose container library

  • pura

    Easy to use, extendable, OCI-compliant container runtime written in pure Rust

  • libpathrs

    C-friendly API to make path resolution safer on Linux.

  • dcp

    docker cp made easy

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-23.

Rust Containers related posts

Index

What are some of the best open-source Container projects in Rust? This list will help you:

Project Stars
1 firecracker 22,561
2 bottlerocket 7,602
3 min-sized-rust 6,321
4 youki 5,267
5 kata-containers 3,805
6 habitat 2,512
7 vagga 1,842
8 aurae 1,777
9 docker-compose-wait 1,522
10 toast 1,516
11 kuasar 890
12 trow 816
13 Mayastor 537
14 nanocl 496
15 vas-quod 441
16 dockeye 404
17 staticvec 269
18 stevedore 257
19 rash 195
20 containrs 124
21 pura 89
22 libpathrs 66
23 dcp 65
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
blog.mergify.com