bootc icon indicating copy to clipboard operation
bootc copied to clipboard

cli: More environment detection

Open cgwalters opened this issue 1 year ago • 0 comments

cli: Check for container before root

This has bootc upgrade inside a container image give a more useful error message.

At least one user reran the container as root to try it...


cli: Check for non-ostree container too

Just on general principle.

Signed-off-by: Colin Walters [email protected]


cli: Detect non-ostree and error out earlier

Before we even check for root, verify that we are on an ostree-booted host.

Signed-off-by: Colin Walters [email protected]


Closes: https://github.com/containers/bootc/issues/554

cgwalters avatar May 22 '24 00:05 cgwalters