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