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>testcontainers-minio</artifactId>
    <version>2.0.1</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:
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()