bhatti image delete
Delete an image.
Synopsis
Section titled “Synopsis”bhatti image delete <name> [-y]
Description
Section titled “Description”Removes the image record and the underlying ext4 file. Cannot be undone.
Sandboxes that were created from this image keep running — they have their own copy-on-write rootfs derived from the image at creation time. They don’t reference the original after boot.
By default, delete prompts for confirmation. In a non-interactive shell without -y, the command refuses and exits 1.
You cannot delete a system tier image (minimal, browser, etc.) — those are owned by user_id="" and only the operator can remove them by removing the file from /var/lib/bhatti/images/.
Examples
Section titled “Examples”bhatti image delete python-3.12Delete image "python-3.12"? [y/N]: ydeleted# Non-interactivebhatti image delete python-3.12 -yOptions
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-y, --yes | false | Skip confirmation. |
See Global flags for --url, --token, --json, --timing, --data-dir.