# remove

Remove the container.

```rhai
container.remove() -> CommandResult
```

## Returns

Returns a `CommandResult` with the remove operation output.

## Examples

```rhai
let container = nerdctl_container_from_image("temp", "alpine:latest")
    .build();

container.start();
container.stop();

// Clean up
let result = container.remove();
print("Container removed: " + result.success);
```

## Notes

- Container must be stopped before removal
- Removes the container permanently
- Does not remove the image
