# ContainerResource Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerResource](/reference/api/csharp/aspire.hosting/containerresource.md)
- Kind: `Properties`
- Members: `2`

A resource that represents a specified container.

## Entrypoint

- Name: `Entrypoint`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerResource.cs)

The container Entrypoint.

```csharp
public string? Entrypoint { get; set; }
```

## Remarks

`null` means use the default Entrypoint defined by the container.

## ShellExecution

> **Experimental:** ASPIRECONTAINERSHELLEXECUTION001 - [Learn more](/diagnostics/aspirecontainershellexecution001/)

- Name: `ShellExecution`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerResource.cs)

Should any custom arguments be wrapped in -c ">values<"?

```csharp
public bool? ShellExecution { get; set; }
```
