Key features of Bhatti sandboxes
mainBhatti offers several advanced features for sandbox management and execution:
- Preview URLs: Automatically generate public URLs for development. For example,
bhatti publish dev -p 3000generates a URL likehttps://dev-k3m9x2.bhatti.shwhich supports auto-wake from sleep. - Session-aware exec: TTY sessions are persistent; they survive disconnects and scrollback is replayed upon reattachment.
- OCI image support: You can pull OCI images to use as sandbox bases using
bhatti image pull <image_name>. - Persistent volumes: Volumes that survive sandbox destruction and can be mounted across multiple sandboxes.
- Streaming exec: Supports real-time NDJSON output via the
Accept: application/x-ndjsonheader. - Guest hardening: Sandboxes execute as
uid 1000, the config drive is unmounted after boot, and connection/session limits are enforced.
bhatti publish dev -p 3000
bhatti image pull python:3.12