# read_content

Read content from a file in the container (terminal operation).

```rhai
bah.read_content(source_path) -> string
```

## Parameters

- `source_path` (string): Path to the file in the container

## Returns

Returns the file content as a string.

## Examples

```rhai
let builder = bah("mycontainer", "ubuntu:22.04")
    .write_content("Hello World", "/tmp/test.txt");

// Read the content back
let content = builder.read_content("/tmp/test.txt");
print(content);  // "Hello World"

// Using alias
let data = builder.read("/etc/os-release");
```

## Notes

- This is a terminal method (does not return Bah for chaining)
- Alias: `read()` can be used instead
- Useful for verifying file contents or extracting build artifacts
- Throws an error if the file doesn't exist
