Rust MCU framework with loop-based, safe embedded programming
483
This Docker repository provides a ready-to-use environment for kariRS, a Rust-based embedded framework for microcontroller development. It includes all necessary tools, dependencies, and Rust components preinstalled, allowing developers to build, test, and flash firmware quickly and reliably.
With kariRS v1.1.0 and above, this image now supports both AVR and ESP32-based microcontrollers, enabling development across multiple embedded architectures using a unified workflow.
Preconfigured Rust nightly toolchain with cargo and rust-src
AVR toolchain support: gcc-avr, avr-libc, avrdude
ESP32 toolchain support. Supported ESP32 boards include:
Common embedded development utilities installed (git, make, pkg-config)
Ready-to-run kariRS CLI for project management, building, flashing, and monitoring
Simplifies MCU firmware development and ensures a consistent build environment
Start an interactive kariRS environment:
docker run -dit --name kariRS vincentmuriithi/karirs:latest bash
Enter the container:
docker exec -it kariRS bash
You can now use kari commands inside the container.
Mount a host directory so your projects persist outside the container.
docker run -dit \
--name kariRS \
-v "$(pwd):/workspace" \
vincentmuriithi/karirs:latest bash
Navigate inside the container:
cd /workspace
kari new blink
cd ./blink
kari build
To flash real hardware, pass the serial device into the container:
docker run -dit \
--name kariRS \
--device=/dev/ttyACM0 \
-v "$(pwd):/workspace" \
vincentmuriithi/karirs:1.1.0 bash
On Windows + WSL, USB devices may require usbipd to attach the device to WSL before Docker can access it.
Full documentation, command reference and examples for kariRS are available at:
š https://github.com/vincentmuriithi/kariRSā
This image is ideal for developers who want to start embedded Rust development immediately without manually configuring the toolchain and dependencies. It ensures reproducible builds and is compatible with Linux-based CI/CD pipelines and local development setups.
Content type
Image
Digest
sha256:ef14eb6d7ā¦
Size
1.6 GB
Last updated
5 days ago
docker pull vincentmuriithi/karirs