Skip to content
Docs Try Aspire
Docs Try

ContainerResource.withContainerRuntimeArgs

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withContainerRuntimeArgs(args: string[]): ContainerResource;
}

Signature

method withContainerRuntimeArgs builder
Adds a callback to be executed with a list of arguments to add to the container runtime run command when a container resource is started.
withContainerRuntimeArgs(args: string[]): ContainerResource
args string[]
ContainerResource

Defined on

This method is defined on the following type: