bhatti image unshare
bhatti image unshare server only
Revoke an image's share entries for one or more users.
Synopsis
bhatti image unshare <image-name> --user <name> [--user <name>]...
Description
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).
Examples
sudo bhatti image unshare spc-golden --user sumo
unshared "spc-golden" from: sumo
Options
| Flag | Default | Description |
| ---- | ------- | ----------- |
| --user <name> | (required) | User to revoke. Repeatable. |
See Global flags for --url, --token, --json, --timing, --data-dir.
See also
bhatti image share— add a sharebhatti image share --list— see who has access