Skip to content
Docs Try Aspire
Docs Try

withContainerName

Method
📦 Aspire.Hosting v13.2.0
interface ContainerResource {
// ... omitted for brevity
withContainerName(name: string): ContainerResource;
}

Signature

method withContainerName builder
Sets the container name
withContainerName(name: string): ContainerResource
name string
ContainerResource

Applies to

This method applies to the following types: