# getDockerSnapshotContainer

> Function getDockerSnapshotContainer in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Function getDockerSnapshotContainer in pulumi-portainer.

Invoke token: `portainer:index/getDockerSnapshotContainer:getDockerSnapshotContainer`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const result = await portainer.getDockerSnapshotContainer({
  containerId: "<containerId>",
  endpointId: 0,
})
```

`getDockerSnapshotContainerOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property      | Type     | Required | Description |
| ------------- | -------- | -------- | ----------- |
| `containerId` | `string` | yes      |             |
| `endpointId`  | `number` | yes      |             |
| `id`          | `string` | no       |             |

## Result

| Property      | Type                        | Always present | Description |
| ------------- | --------------------------- | -------------- | ----------- |
| `command`     | `string`                    | yes            |             |
| `containerId` | `string`                    | yes            |             |
| `created`     | `number`                    | yes            |             |
| `details`     | `string`                    | yes            |             |
| `endpointId`  | `number`                    | yes            |             |
| `id`          | `string`                    | yes            |             |
| `image`       | `string`                    | yes            |             |
| `imageId`     | `string`                    | yes            |             |
| `labels`      | `{ [key: string]: string }` | yes            |             |
| `names`       | `string[]`                  | yes            |             |
| `state`       | `string`                    | yes            |             |
| `status`      | `string`                    | yes            |             |
