# image_remove

Remove an image from local storage (static function).

```rhai
builder.image_remove(image) -> CommandResult
```

## Parameters

- `image` (string): Image name or ID to remove

## Returns

Returns a `CommandResult` with the removal operation output.

## Examples

```rhai
let builder = bah_new("temp", "ubuntu:22.04");

// Remove by tag
let result = builder.image_remove("myimage:latest");

// Remove by ID
let result2 = builder.image_remove("sha256:abc123...");

if result.success {
    print("Image removed successfully");
}
```

## Notes

- This is a static method
- Removes the image from local storage
- Will fail if containers are using the image
