ContainerResource.WithContainerRuntimeArgs

Method
📦 Aspire.Hosting v17.0.0
type ContainerResource interface {
// ... 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
args[]stringThe arguments to be passed to the container runtime run command when the container resource is started.
ContainerResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: