# nerdctl_image_remove

Remove an image from local storage.

```rhai
nerdctl_image_remove(image) -> CommandResult
```

## Parameters

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

## Returns

Returns a `CommandResult` with the remove operation output.

## Examples

```rhai
// Remove by tag
let result = nerdctl_image_remove("nginx:latest");

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

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

## Notes

- Removes image from local storage
- Fails if containers are using the image
- Use image name or ID
