Skip to content
Docs Try Aspire
Docs Try

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

method addMinioContainer builder
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
name string
rootUser ParameterResource optional
rootPassword ParameterResource optional
port number optional
MinioContainerResource

Applies to

This method applies to the following types: