Skip to content
DocsTry Aspire
DocsTry

addMinioContainer

Method
📦 CommunityToolkit.Aspire.Hosting.Minio v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addMinioContainer(
name: string,
rootUser?: ParameterResource,
rootPassword?: ParameterResource,
port?: number): MinioContainerResource;
}

Signature

methodaddMinioContainerbuilder
Adds a MinIO container to the application model. The default image is "minio/minio" and the tag is "latest".
addMinioContainer(
name: string,
rootUser?: ParameterResource,
rootPassword?: ParameterResource,
port?: number): MinioContainerResource
namestring
rootUserParameterResourceoptional
rootPasswordParameterResourceoptional
portnumberoptional
MinioContainerResource

Applies to

This method applies to the following types: