---
title: "ContainerReferenceEnvironment"
---

Reference to a previously created container to reuse.


## Fields

| Field                                                                                              | Type                                                                                               | Required                                                                                           | Description                                                                                        | Example                                                                                            |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `container_id`                                                                                     | *str*                                                                                              | :heavy_check_mark:                                                                                 | Identifier of an existing container to reuse (max 20 characters).                                  | cntr_abc123                                                                                        |
| `type`                                                                                             | [components.ContainerReferenceEnvironmentType](../components/containerreferenceenvironmenttype.mdx) | :heavy_check_mark:                                                                                 | N/A                                                                                                |                                                                                                    |