Skip to content
DocsTry Aspire
DocsTry

ContainerResource.withContainerRuntimeArgs

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

Signature

methodwithContainerRuntimeArgsbuilder
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
argsstring[]
ContainerResource

Defined on

This method is defined on the following type: