# AddContainerOptions

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Options for configuring a container image in polyglot apphosts.

## Definition

```go
type AddContainerOptions struct {
    Image string  `json:"Image"`
    Tag   *string `json:"Tag"`
}
```

## Fields

- `Image`: `string` -- The container image name.
- `Tag`: `*string` `optional` -- The container image tag.
