bhatti image delete
Delete an image.
Synopsis
bhatti image delete <name> [-y]
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
bhatti image delete python-3.12
Delete image "python-3.12"? [y/N]: y
deleted
# Non-interactive
bhatti image delete python-3.12 -y
Options
| Flag | Default | Description |
| ---- | ------- | ----------- |
| -y, --yes | false | Skip confirmation. |
See Global flags for --url, --token, --json, --timing, --data-dir.