# nerdctl_container_new

Create a new Container builder.

```rhai
nerdctl_container_new(name) -> Container
```

## Parameters

- `name` (string): The name for the container

## Returns

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

## Examples

```rhai
// Create a new container builder
let container = nerdctl_container_new("myapp");

// Use with method chaining
let container = nerdctl_container_new("myapp")
    .with_port("8080:80")
    .with_env("DEBUG", "true")
    .build();
```

## Notes

- Use `nerdctl_container_from_image()` if you want to specify the image upfront
- The builder pattern enables clean configuration before running
- Call `build()` to create and start the container
