Watch Aspire live streamsDocsTry Aspire

withContainerRegistry

Method
📦 Aspire.Hosting v13.6.5
interface ContainerResource {
// ... omitted for brevity
withContainerRegistry(registry: IResource): IResource;
}

Signature

methodwithContainerRegistrybuilder
Configures the resource to use the specified container registry for container image operations.
withContainerRegistry(registry: IResource): IResource
registryIResourceThe container registry resource builder.
IResource

Applies to

This method applies to the following types: