Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

MinIO is a high performance object storage solution. It is API compatible with the Amazon S3 cloud storage service and can handle unstructured data such as photos, videos, log files, backups, and container images with a current maximum supported object size of 5TB.

Examples

Dependency:
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>minio</artifactId>
    <version>1.20.0</version>
    <scope>test</scope>
</dependency>
Usage:
var minio = new MinIOContainer("minio/minio:RELEASE.2023-09-04T19-57-37Z");
minio.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/minio
Usage:
minioContainer, err := minio.Run(context.Background(), "minio/minio:RELEASE.2024-01-16T16-07-38Z")
Dependency:
dotnet add package Testcontainers.Minio
Usage:
var minioContainer = new MinioBuilder()
  .WithImage("minio/minio:RELEASE.2023-01-31T02-24-19Z")
  .Build();
await minioContainer.StartAsync();
Dependency:
pip install testcontainers[minio]
Usage:
with MinioContainer() as minio:
    client = minio.get_client()
Dependency:
npm install @testcontainers/minio --save-dev
Usage:
const container = await new MinioContainer("minio/minio:RELEASE.2024-12-13T22-19-12Z").start();
Dependency:
cargo add -F minio --dev testcontainers-modules
Usage:
testcontainers_modules::minio::MinIO::default().start()