← Back to archive

Repo of the Day

fzakaria/tabc

Published: Dec 4, 2026

Open repository ↗

An OCI runtime that runs each container in a browser tab

Summary

tabc is an OCI runtime, similar to runc, that starts a container in headless Chromium rather than as a native Linux process. A Linux kernel compiled to WebAssembly runs inside the browser tab, making the tab the sandbox and allowing use on a Mac or Windows without a VM.

What it is useful for

Engineers can use it to:

  • Run Linux containers on Mac or Windows without a VM; it also runs on Linux.
  • Use Docker or Podman by registering tabc as their OCI runtime. Alternatively, tocker, tabc’s stand-in for the docker command, provides Compose support without a Docker daemon.
  • Inspect an interactive container in a browser tab with --open; input and output appear in both the tab and the terminal that launched it. --link prints the address and waits for the page to be opened.
  • Save a running guest with tabc park and restore it with tabc restore. A restored container continues the program in the same process rather than starting it again.

Some constraints matter. Releases use an installed browser—Chrome or Chromium, with Edge as a Windows fallback—except the Linux Nix package, which includes Chromium. On Windows, mounted volumes show files as root with one shared mode, and chmod changes nothing. Snapshot files include the program’s environment, including secrets, and are readable by the user; restored copies also reset sockets that were open at save time.

How engineers can use it

On Nix systems running Linux or on an Apple Silicon Mac, install and run directly from the repository:

$ nix run github:fzakaria/tabc -- run alpine echo hi
hi

Without Nix, each release publishes archives for Linux, macOS, and Windows on x86-64 and arm64. For example:

$ curl -L https://github.com/fzakaria/tabc/releases/latest/download/tabc-linux-amd64.tar.gz | tar -xz
$ ./tabc-linux-amd64/tabc run alpine echo hi
hi

Then run images with the expected container interface:

$ tabc run python:3.13-alpine python -c 'print(6 * 7)'
42
$ tabc run -p 8080:80 nginx:alpine
$ tabc run -it --open alpine sh

For Compose, run tocker compose up; tocker --dashboard compose up displays services as panes. With Docker, register the binary as the tabc runtime in /etc/docker/daemon.json, restart Docker, and select it per container:

$ docker run --rm -it --runtime tabc --platform linux/arm64 debian bash

Podman can invoke the binary directly:

$ podman run --rm --runtime /path/to/tabc --platform linux/arm64 alpine echo hi