# ImageConfig

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/sandboxes/box_create_snapshot_params/ImageConfig)

ImageConfig sets the command and ports the snapshot records, as a Docker image's ENTRYPOINT, CMD and EXPOSE do. By default a capture keeps
those of the snapshot the sandbox was created from; each field given here replaces that one, and an empty list clears it. A function
serving the snapshot runs this command and listens on its one exposed port.

## Signature

```python
ImageConfig()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    cmd: SequenceNotStr[str],
    entrypoint: SequenceNotStr[str],
    exposed_ports: Iterable[int],
)
```

| Name | Type |
|------|------|
| `cmd` | `SequenceNotStr[str]` |
| `entrypoint` | `SequenceNotStr[str]` |
| `exposed_ports` | `Iterable[int]` |


## Properties

- `cmd`
- `entrypoint`
- `exposed_ports`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/types/sandboxes/box_create_snapshot_params.py#L84)