Skip to content

Images

Images are ext4 filesystem snapshots used as sandbox root filesystems. bhatti ships pre-built tier images (minimal, browser, docker, computer); you can also pull from public OCI registries, import from Docker, or save a running sandbox’s filesystem as an image.

CommandDescription
bhatti image listList available images.
bhatti image pullPull from a public OCI registry. Async; returns a task ID.
bhatti image importImport a local Docker image, or a tarball with --tar.
bhatti image saveSave a running sandbox’s rootfs as a reusable image.
bhatti image deleteDelete an image.
bhatti image shareShare an image with specific users (server-only).
bhatti image unshareRevoke image access from users (server-only).
TierWhat’s in itSize
minimalBare Ubuntu 24.04 + curl + fuse3~200 MB
browser+ Chromium, Playwright, Node 22~600 MB
docker+ Docker Engine~550 MB
computer+ XFCE desktop, KasmVNC, Chromium~1.5 GB
Terminal window
bhatti create --name scraper --image browser
bhatti create --name ci --image docker

The server auto-discovers tiers from /var/lib/bhatti/images/. Install more with sudo bhatti update --tiers all.

Each image is owned by the user who created it (or by the system, for built-in tiers). Other users can’t see or use your custom images by default.

To share with a specific user: sudo bhatti image share <image> --user alice. The command operates directly on the local SQLite database, so it requires running on the server with DB access — it isn’t an API call you can make remotely.

Use --list to inspect current shares; pass --user alice --user bob to share with multiple users in one call. unshare revokes access by user.