# tabc

> An OCI runtime that runs each container inside a headless Chromium browser tab on a WebAssembly-compiled Linux kernel.

tabc is an open-source OCI runtime, comparable to runc, created by Farid Zakaria. Instead of starting a container as a Linux process, it launches headless Chromium and boots the container inside a tab on a Linux kernel compiled to WebAssembly. The tab acts as the sandbox. The latest release listed is v1.0.0.

## What It Is

tabc is a container runtime that can be used on its own through `tabc run`, which accepts flags familiar from `docker run`, or registered as an alternative runtime for Docker or Podman. Because it does not need a Linux kernel underneath, it can run on a Mac without a VM. It ships as a single binary for Linux and macOS (x86-64 and arm64).

## How It Works

The container engine calls `tabc create` as it would call runc. tabc starts a supervisor, which launches headless Chromium with a fresh profile and serves a page from loopback. That page boots unkernel, a Linux kernel built for WebAssembly that runs aarch64 programs. Every file the guest opens is requested from the supervisor, which reads it from the bundle or directly from the image layers, so the image is never unpacked. Program input and output, and network connections, travel over a WebSocket to the supervisor, which also carries inbound connections on published ports into the tab.

## Ways to Use It

- Standalone: `tabc run` supports flags for stdin/TTY, environment, working directory, user, memory, CPUs, port publishing, volume mounts, names and networks.
- In your own browser: `--open` runs the container in a visible tab of your browser, with the tab and the terminal mirroring each other; `--link` prints the address and waits.
- Compose without Docker: `tocker`, the same binary under another name, starts a minimal daemon and runs the installed `docker` client against it, so Compose files work unchanged, with each service in its own tab or in a dashboard.
- As a runtime for Docker or Podman, configured in `daemon.json`, per Compose service, or via `--runtime`.

## Setup Path

Install with Nix (`nix run github:fzakaria/tabc`) on Linux or Apple Silicon Macs, or download a release archive. Release builds use an installed Chrome or Chromium, and `tocker` uses the installed `docker` command line. On a Mac, tabc looks for Chrome in `/Applications` or at the path in `TABC_CHROMIUM`.

## Features
- OCI runtime that runs containers in a headless Chromium tab
- Linux kernel compiled to WebAssembly (unkernel)
- Works on macOS without a VM
- docker run-style flags (ports, volumes, env, memory, CPUs)
- -open runs the container in your own browser with a mirrored terminal
- tocker provides a minimal Docker daemon stand-in for Compose
- Usable as a runtime for Docker and Podman
- Images read directly from layers without unpacking
- Single-file binary

## Integrations
Docker, Podman, Docker Compose, Nix, NixOS, Chromium, Google Chrome, unkernel

## Platforms
MACOS, LINUX, WEB, API, CLI

## Pricing
Open Source

## Version
v1.0.0

## Links
- Website: https://github.com/fzakaria/tabc
- Documentation: https://github.com/fzakaria/tabc/blob/main/docs/design.md
- Repository: https://github.com/fzakaria/tabc
- EveryDev.ai: https://www.everydev.ai/tools/tabc
