Watch Aspire live streamsDocsTry Aspire

withContainerImage

Method
📦 Aspire.Hosting.Radius v13.6.0-preview.1.26478.8
interface ProjectResource {
// ... omitted for brevity
withContainerImage(image: string): ProjectResource;
}

Signature

methodwithContainerImagebuilder
Associates a pre-built container image reference with a project resource so the Aspire.Hosting.Radius publisher can emit a valid Radius container manifest for it.
withContainerImage(image: string): ProjectResource
imagestring
ProjectResource

Applies to

This method applies to the following types: