C Containers

Open-source C projects categorized as Containers

Top 21 C Container Projects

  • Netdata

    The open-source observability platform everyone needs

  • Project mention: A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev | dev.to | 2024-02-05

    netdata.cloud — Netdata is an open-source tool to collect real-time metrics. It's a growing product and can also be found on GitHub!

  • cosmopolitan

    build-once run-anywhere c library

  • Project mention: Python Is Portable | news.ycombinator.com | 2024-04-15

    The reality is a bit different, the work on Python 3.6 was checked into the Cosmopolitan repo and I have been able to use it for production workloads that are in pure python. [0]

    As Cosmopolitan Libc has evolved, it has been possible to compile more software without modifications, and that includes latest Python through a project called superconfigure[1].

    Last person who tried to reproduce it from scratch did it last week (granted it too them a few days of solid work) but in the end they ended with a portable binary with Python 3.11.9, brotli, ssl and asyncio for their work related project.[2]

    [0] https://github.com/jart/cosmopolitan/tree/master/third_party...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • wasm3

    🚀 A fast WebAssembly interpreter and the most universal WASM runtime

  • Project mention: Show HN: Mutable.ai – Turn your codebase into a Wiki | news.ycombinator.com | 2024-01-08

    As long as this is happening, might as well try some of my favorites: https://github.com/wasm3/wasm3, https://github.com/WebAssembly/wabt, https://github.com/bytecodealliance/wasmtime

  • LXC

    LXC - Linux Containers

  • Project mention: LXD Moves into Canonical | news.ycombinator.com | 2023-07-06

    I hope this doesn't affect LXC negatively.

    LXC and LXD share plenty of contributors.



    I use an "unprivileged LXC container" setup on several Debian bullseye hosts. It works fantastic, and each LXC container feels like a real server.

    Compare that to Docker's "one-container-one-process" philosophy, reinventing the wheel by awkwardly composing multiple containers.

  • crun

    A fast and lightweight fully featured OCI runtime and C library for running containers

  • Project mention: Show HN: dockerc – Docker image to static executable "compiler" | news.ycombinator.com | 2024-03-06

    Yep pretty much.

    The executables bundle crun (a container runtime)[0], and a fuse implementation of squashfs and overlayfs. Appended to that is a squashfs of the image.

    At runtime the squashfs and overlayfs are mounted and the container is started.

    [0]: https://github.com/containers/crun

  • criu

    Checkpoint/Restore tool

  • Project mention: When "letting it crash" is not enough | news.ycombinator.com | 2024-02-07

    Checkpoint/Restore I feel is a bigger concept than just saving state. At the zeroth level it's a system that can correctly stop and serialize a running process (as criu https://github.com/checkpoint-restore/criu has shown is a huge pain in the ass to still not be perfect) in a way that can initiated from within the process itself.

    The 1st level more-work-but-easier way to do this is to build or use a heavily constrained VM/language you run from within your main application that doesn't allow for most of the hard problems to even exist.

    I can't find any ready-made tools to do this that I wouldn't consider an endeavor.

  • barco

    Linux containers from scratch in C.

  • Project mention: barco: Linux containers from scratch in C. | /r/kubernetes | 2023-09-28
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • lxcfs

    FUSE filesystem for LXC

  • Project mention: Go, Containers, and the Linux Scheduler | news.ycombinator.com | 2023-11-07

    > I wondered for a while if docker could make a fake /proc/cpuinfo

    This exists: https://github.com/lxc/lxcfs

    lxcfs is a FUSE filesystem that mocks /proc by inferring cgroup values in a way that makes other applications and libraries work without having to care about whether it runs in a container (to the best of its ability - there are definitely caveats).

    One such example is that /proc/uptime should reflect the uptime of the container, not the host; additionally /proc/cpuinfo reflects the number of CPUs as a combination of cpu.max and cpuset.cpus (whichever the lower bound is).

    As others also mentioned, inferring the number of CPUs could also be done using the sched_getaffinity syscall - this doesn't depend on /proc/cpuinfo, so depending on the library you're using you might be in a pickle.

  • felix

    Project Calico's per-host agent Felix, responsible for programming routes and security policy.

  • fuse-overlayfs

    FUSE implementation for overlayfs

  • Project mention: BTFS (BitTorrent Filesystem) | news.ycombinator.com | 2024-04-15

    Maybe something like this? https://github.com/containers/fuse-overlayfs

  • composefs

    a file system for mounting container images

  • komihash

    Very fast, high-quality hash function, discrete-incremental and streamed hashing-capable (non-cryptographic, inline C/C++) 26GB/s + PRNG

  • containers

    Simple containers using Linux user namespaces — see also https://github.com/arachsys/ucontain (by arachsys)

  • Containers

    This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory. (by bkthomps)

  • Ruby-LXC

    ruby bindings for liblxc

  • bluechi

    Eclipse BlueChi is a systemd service controller intended for multi-node environments with a predefined number of nodes and with a focus on highly regulated ecosystems such as those requiring functional safety.

  • Project mention: Quadlets might make me finally stop using Docker-compose – Major Hayden | news.ycombinator.com | 2023-09-26
  • CC

    A small, usability-oriented generic container library.

  • Project mention: preprocessor stuff - compile time pasting into other files | /r/C_Programming | 2023-12-09

    With extendible macros, you could achieve the following:

  • libGimbal

    C17-based extended standard library, cross-language type system, and unit testing framework targeting Sega Dreamcast, Sony PSP and PSVita, Windows, Mac, Linux, Android, iOS, and WebAssembly.

  • Project mention: Object-oriented Programming with ANSI-C [pdf] | news.ycombinator.com | 2023-06-21

    I'm a huge academic fan of what GTk has accomplished (thanks to their GObject type system), and as much as I know the C89 crowd who thinks macros are all evil probably abhor this kind of thing, I think GTk is one of the most epic, impressive, ambitious C codebases in existence. Witness as non-OO C matches, rivals, and quite often beats Qt on equivalent classes/features in plain C... It's even above "just C++ style C," as they have added features like a property and signal system...

    Such a fanboy it inspired my own type system and massive core library, libgimbal, which uses a type system similar to GObject and targets game consoles like the Sega Dreamcast: https://github.com/gyrovorbis/libgimbal

  • flatimage

    FlatImage, a hybrid of Flatpak sandboxing with AppImage portability

  • vita

    An auxiliary standard library for quick prototyping with modern C. (by kirillsaidov)

  • Project mention: First big/real library, please provide code review/critique and improvements:) | Vita - simple library for prototyping and developing with C. | /r/C_Programming | 2023-07-03
  • flare

    Debug how containers react to signals (by xr09)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C Containers related posts


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

Project Stars
1 Netdata 68,562
2 cosmopolitan 15,370
3 wasm3 7,012
4 LXC 4,466
5 crun 2,821
6 criu 2,680
7 barco 1,435
8 lxcfs 1,008
9 felix 922
10 fuse-overlayfs 491
11 composefs 376
12 komihash 179
13 containers 178
14 Containers 162
15 Ruby-LXC 131
16 bluechi 122
17 CC 106
18 libGimbal 67
19 flatimage 49
20 vita 13
21 flare 3

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives