Kuasar: A Multi-Sandbox Container Runtime

Shriira Press

Preface

Kuasar is a Rust container runtime that runs microVMs, WebAssembly, app-kernels, and ordinary containers side by side on one node — through a single, unified sandbox abstraction.

Welcome to Kuasar: A Multi-Sandbox Container Runtime.

Kuasar is a low-level, Rust-based container runtime, open-sourced by Huawei in 2023 and accepted into the Cloud Native Computing Foundation as a sandbox project, that answers a question the industry kept dodging: what if a single node needed to run several different isolation technologies at once? A normal container, a hardware-isolated microVM, a WebAssembly module, and an app-kernel sandbox each suit different workloads, yet older runtimes forced them all through a model designed for plain Linux containers. Kuasar rebuilds the runtime around the containerd Sandbox API, treating the sandbox as a first-class citizen and replacing the one-shim-per-container model with a single resident sandboxer. This book moves from the problem and the ecosystem context, through Kuasar's architecture and the Sandbox API, into each sandboxer in turn — microVM, Wasm, app-kernel, and runc — and finishes with how it plugs into containerd and how teams run it in practice. By the end, the layer where containers actually become processes, virtual machines, or modules will be familiar territory.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What Kuasar Is
  2. Chapter 2 — The Sandbox API and the Shim Problem
  3. Chapter 3 — Architecture: Sandboxer and Task
  4. Chapter 4 — The MicroVM Sandboxer
  5. Chapter 5 — Wasm and App-Kernel Sandboxers
  6. Chapter 6 — Integrating with containerd
  7. Chapter 7 — Kuasar in Practice
0%
1/1