• Stars
    star
    686
  • Rank 65,892 (Top 2 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Moby-based Container Engine for Embedded, IoT, and Edge uses

balenaEngine

moby-based container engine for IoT

Highlights

  • Small footprint: 3.5x smaller than Docker CE, packaged as a single binary
  • Multi-arch support: Available for a wide variety of chipset architectures, supporting everything from tiny IoT devices to large industrial gateways
  • True container deltas: Bandwidth-efficient updates with binary diffs, 10-70x smaller than pulling layers
  • Minimal wear-and-tear: Extract layers as they arrive to prevent excessive writing to disk, protecting your storage from eventual corruption
  • Failure-resistant pulls: Atomic and durable image pulls defend against partial container pulls in the event of power failure
  • Conservative memory use: Prevents page cache thrashing during image pull, so your application runs undisturbed in low-memory situations

Motivation

balenaEngine is a container engine purpose-built for embedded and IoT use cases and compatible with Docker containers. Based on Docker’s Moby Project, balenaEngine supports container deltas for 10-70x more efficient bandwidth usage, has 3x smaller binaries, uses RAM and storage more conservatively, and focuses on atomicity and durability of container pulling.

Since 2013, when we first ported Docker to ARMv6 and the Raspberry Pi, the balena team has been working in and around the Docker codebase. Meanwhile, having seen IoT devices used in production for tens of millions of hours, we’ve become intimately acquainted with the unique needs of the embedded world. So we built a container engine that runs Docker containers just as well, shares the Docker components that are needed for our use case, and is augmented with the IoT-specific features that we’ve built out over time.

Transitioning from Docker CE

We left out Docker features that we saw as most needed in cloud deployments and therefore not warranting inclusion in a lightweight IoT-focused container engine. Specifically, we’ve excluded:

  • Docker Swarm
  • Cloud logging drivers
  • Plugin support
  • Overlay networking drivers
  • Non-boltdb discovery backends (consul, zookeeper, etcd, etc.)
  • Buildkit (although support can be enabled using a build tag)

Unless you depend on one of the features in Docker that balenaEngine omits, using balenaEngine should be a drop-in replacement.

License

balenaEngine is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

More Repositories

1

wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Rust
1,264
star
2

meta-balena

A collection of Yocto layers used to build balenaOS images
BitBake
967
star
3

balena-raspberrypi

Balena support for RaspberryPI boards
BitBake
190
star
4

balena-supervisor

Balena Supervisor: balena's agent on devices.
TypeScript
147
star
5

balena-os

The central place for all things BalenaOS related.
113
star
6

jetson-flash

This tool allows users to flash BalenaOS on Jetson supported devices
JavaScript
63
star
7

balenaos-in-container

Run balenaOS as a docker container
Shell
49
star
8

balena-jetson

BitBake
44
star
9

kernel-module-build

Example project for building an OOT kernel module in balena
Shell
35
star
10

balenahup

BALENA Host os UPdater
Shell
35
star
11

balena-intel

Balena support for Intel boards
BitBake
33
star
12

librsync-go

Pure Go implementation of librsync/rdiff
Go
31
star
13

configizer

Safe(r) balenaOS config.json updates remotely
Shell
26
star
14

leviathan

A distributed hardware testing framework
JavaScript
23
star
15

balena-allwinner

BitBake
20
star
16

balena-beaglebone

Balena support for Beaglebone boards
BitBake
20
star
17

balena-yocto-scripts

Helper scripts for balena yocto builds
Shell
20
star
18

balena-os-device-support

A list of current, proposed and planned future balena.io supported boards
19
star
19

balena-odroid

Balena support for ODROID boards
BitBake
15
star
20

healthdog-rs

Helper program that connects external periodic heathchecks with systemd's watchdog support
Rust
15
star
21

resin-device-toolbox

[DEPRECATED] The official Resin Device Toolbox CLI for resinOS
CoffeeScript
14
star
22

balena-radxa

BitBake
13
star
23

module-headers

Tool for generating kernel module headers from kernel source. Heavily based on arch's x86-64 PKGBUILD.
Shell
13
star
24

balena-variscite-mx8

BitBake
11
star
25

meta-artik

BSP Yocto layer for Samsung Artik board
BitBake
11
star
26

takeover

Migrate arbitrary devices to balena
Rust
11
star
27

balena-asus-tinker-board

CoffeeScript
10
star
28

balena-generic

Balena support for generic devices
BitBake
9
star
29

balena-image-flasher-unwrap

Tool for unwrapping balena-image from a balena-image-flasher
Shell
8
star
30

balena-fsl-arm

Balena support for Freescale boards
BitBake
8
star
31

serial-it

Shell
7
star
32

balena-qemu

Balena support for QEMU boards
CoffeeScript
7
star
33

os-config

Rust
6
star
34

balena-jetson-orin

Balena integration repository for Jetson Orin devices
Shell
6
star
35

linux-artik7

Linux kernel for Artik 710
C
6
star
36

balena-artik

Balena support for Artik boards
CoffeeScript
6
star
37

balena-up-board

Balena support for UP board
BitBake
6
star
38

leviathan-worker

The worker layer for Leviathan including worker plugins QemuKit & AutoKit
TypeScript
6
star
39

balena-edison

Balena support for Edison boards
Roff
6
star
40

balena-seeed-x86

BitBake
5
star
41

balena-iot-gate-imx8

Shell
5
star
42

balenaosversions

List of released OS versions for different devices on Balena Cloud
JavaScript
5
star
43

poky

Python
4
star
44

bindmount

Rust
4
star
45

balena-coral

BitBake
4
star
46

balena-nanopc-t4

BitBake
4
star
47

balenafin-raspbian

Raspbian support for balenaFin
Shell
4
star
48

uboot-artik7

uBoot for Artik 710
C
4
star
49

balena-isg

Support for Rocktech ISG boards
BitBake
4
star
50

balena-board-template

This is a template to be used for new board support repositories.
4
star
51

mobynit

Package to mount hostapp filessytems
Go
4
star
52

balena-iot-gate-imx8plus

BitBake
3
star
53

balena-variscite

Balena support for Variscite boards
BitBake
3
star
54

balena-owa5x

BitBake
3
star
55

migrate

Migrate brownfield devices to Balena
Rust
3
star
56

balena-benchmarks

Benchmarks for balaena
Shell
3
star
57

meta-edison-bsp

C
3
star
58

balena-artik710

Balena support for Artik 710 boards
CoffeeScript
3
star
59

balena-am571x-evm

Balena support for am57xx-evm boards
CoffeeScript
3
star
60

balena-intel-quark

Balena support for intel-quark boards
JavaScript
3
star
61

meta-artik710

BSP Yocto layer for Samsung Artik 710 board and Co
BitBake
3
star
62

build-artik

Scripts and prebuilts for artik boards
Shell
3
star
63

fatrw

CLI utility and a Rust library that implements safe file read and write operations for FAT file systems
Rust
3
star
64

balena-compulab

BitBake
3
star
65

balena-toradex

Balena support for Toradex boards
CoffeeScript
3
star
66

meta-resin-extra

meta-resin-extra is a Yocto layer used to build extra/optional package on top of meta-resin
BitBake
3
star
67

cloud-config

balenaCloud application used to configure balenaOS from supported metadata services
Shell
3
star
68

balena-chip

Balena support for C.H.I.P. boards
CoffeeScript
3
star
69

balena-ts

Balena support for TS boards
CoffeeScript
3
star
70

balena-parallella

Balena support for Parallella boards
CoffeeScript
3
star
71

balena-iot2000

Balena support for the Siemens IOT2000 family
CoffeeScript
3
star
72

brcm_patchram_plus

Broadcom utility to upload firmware on bluetooth chips
C
3
star
73

resin-provisioner

Supervisor component for provisioning a device against resin servers.
Go
3
star
74

balena-sign

Service used to sign data over the network and retrieve the respective public keys
Python
3
star
75

balena-tci

Shell
2
star
76

resinos-tests-legacy

Shell
2
star
77

test-helpers

TypeScript
2
star
78

meta-tegra

BitBake
2
star
79

meta-tinker-board

BSP yocto layer for Asus Tinker Board
BitBake
2
star
80

renovate-config

Shared renovate configuration and GitHub Action
2
star
81

iot-gate-imx8plus-flashtools

Container scripts for flashing Compulab IOT-GATE-iMX8PLUS with BalenaOS
Shell
2
star
82

balena-jetson-wnb

BitBake
2
star
83

balena-rockpro64

BitBake
2
star
84

gazette

A lightweight log collection service for sending system logs to the balena API
Shell
2
star
85

balena-revpi

BalenaOS integration layer for the Revolution Pi boards
C++
2
star
86

balena-zc702

Balena support for ZYNQ ZC702 boards
CoffeeScript
2
star
87

balena-topic

BitBake
2
star
88

log-streamer

Test sending logs to the API log-stream
TypeScript
2
star
89

balenaos-extra-tools

Shell
2
star
90

colibri-ddr-patch

WIP: Patch DDR size in Colibri boards
C
2
star
91

github-workflows

A collection of reusable github workflows
2
star
92

balena-via-arm

Balena support for VAB820 boards
CoffeeScript
2
star
93

resin-edge

Resin support for edge devices build environment
Shell
2
star
94

balena-connectcore

BalenaOS for the Digi ConnectCore SBCs and System-On-Modules
BitBake
2
star
95

balena-nanopi-r2

BitBake
2
star
96

qemukit

Qemukit helps in writing automated tests on Qemu environments
TypeScript
2
star
97

amber-etcher-kernel

Shell
2
star
98

meta-radxa-rockpi

1
star
99

balena-ts-7970

1
star
100

balenaos-contracts

A collection of meta-data for BalenaOS extensions
1
star