# privileged

Set privileged mode for the build machine.

```rhai
build_machine.privileged(privileged) -> BuildMachine
```

## Parameters

- `privileged` (bool): Enable privileged mode if true

## Returns

Returns the `BuildMachine` builder for method chaining.

## Examples

```rhai
// Privileged mode for Docker-in-Docker builds
let bm = namespace.build_machine("builder")
    .image("ubuntu:22.04")
    .privileged(true)
    .provision();
```

## Notes

- This is a chainable method
- Privileged mode required for some build tools (Docker, Podman)
- Use with caution - grants container elevated permissions
