> ## Documentation Index
> Fetch the complete documentation index at: https://private-04b27de1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.code_utils.in_docker_container

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### in\_docker\_container

```python theme={null}
in_docker_container() -> bool
```

Check if the code is running in a docker container.<br />Returns: <br />    bool: True if the code is running in a docker container; False otherwise.

<b>Returns:</b>

| Type | Description                                                               |
| ---- | ------------------------------------------------------------------------- |
| bool | bool: True if the code is running in a docker container; False otherwise. |

<br />
