ContainerResource.withContainerRuntimeArgs

Method
📦 Aspire.Hosting v17.0.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[]The arguments to be passed to the container runtime run command when the container resource is started.
ContainerResource

Defined on

This method is defined on the following type: