# nerdctl_container_from_image

Create a new Container builder from a specific image.

```rhai
nerdctl_container_from_image(name, image) -> Container
```

## Parameters

- `name` (string): The name for the container
- `image` (string): The container image to use (e.g., "nginx:latest")

## Returns

Returns a `Container` builder object that supports method chaining.

## Examples

```rhai
// Create container from nginx image
let container = nerdctl_container_from_image("webserver", "nginx:latest")
    .with_port("8080:80")
    .with_volume("/data:/usr/share/nginx/html")
    .build();

// Start the container
container.start();
```

## Notes

- Preferred over `nerdctl_container_new()` when you know the image
- Supports method chaining for configuration
- Image must be pulled before use (use `nerdctl_image_pull()` if needed)
