AddContainer
Method
func (DistributedApplicationBuilder) AddContainer( name string, image any,) ContainerResourceSignature
method
AddContainer builderAdds a container resource to the application.
AddContainer( name string, image any,) ContainerResourceParameters
namestringThe name of the resource.imageanyThe image name or image options for the container.Returns
ContainerResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: