> ## 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.coding.jupyter.DockerJupyterServer

<h2 id="autogen.coding.jupyter.DockerJupyterServer" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">DockerJupyterServer</span>
</h2>

```python theme={null}
DockerJupyterServer(
    *,
    custom_image_name: Optional[str] = None,
    container_name: Optional[str] = None,
    auto_remove: bool = True,
    stop_container: bool = True,
    docker_env: dict[str, str] = {},
    token: str | GenerateToken = &lt;autogen.coding.jupyter.docker_jupyter_server.DockerJupyterServer.GenerateToken object&gt;
)
```

(Experimental)

Start a Jupyter kernel gateway server in a Docker container.<br />

<b>Parameters:</b>

| Name                | Description                                                                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `custom_image_name` | **Type:** Optional\[str]<br /><br />**Default:** None                                                                                             |
| `container_name`    | **Type:** Optional\[str]<br /><br />**Default:** None                                                                                             |
| `auto_remove`       | **Type:** bool<br /><br />**Default:** True                                                                                                       |
| `stop_container`    | **Type:** bool<br /><br />**Default:** True                                                                                                       |
| `docker_env`        | **Type:** dict\[str, str]<br /><br />**Default:** \{}                                                                                             |
| `token`             | **Type:** str \| GenerateToken<br /><br />**Default:** \<autogen.coding.jupyter.docker\_jupyter\_server.DockerJupyterServer.GenerateToken object> |

### Class Attributes

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

#### DEFAULT\_DOCKERFILE

<br />

<br />

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

#### GenerateToken

<br />

<br />

### Instance Attributes

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

#### connection\_info

<br />

Return the connection information for this connectable.

### Instance Methods

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

#### get\_client

```python theme={null}
get_client(self) -> JupyterClient
```

<br />

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

#### stop

```python theme={null}
stop(self) -> None
```

<br />
