Skip to content

bhatti image unshare

bhatti image unshare server only

Section titled “bhatti image unshare ”

Revoke an image’s share entries for one or more users.

bhatti image unshare <image-name> —user <name> [—user <name>]…

Removes share-table entries for the listed users. After unsharing, those users will no longer see the image in bhatti image list and can’t reference it by name in bhatti create --image.

Sandboxes the affected users already created from the image keep running — they have their own copy-on-write rootfs and don’t reference the original.

Like image share, this operates directly on the local SQLite database. Requires DB access on the server (typically sudo).

Terminal window
sudo bhatti image unshare spc-golden --user sumo
unshared "spc-golden" from: sumo
FlagDefaultDescription
--user <name>(required)User to revoke. Repeatable.

See Global flags for --url, --token, --json, --timing, --data-dir.