Community Module

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

Description

OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications licensed under Apache 2.0 and powered by Apache Lucene.

Examples

Dependency:
<dependency>
    <groupId>org.opensearch</groupId>
    <artifactId>opensearch-testcontainers</artifactId>
    <version>2.0.1</version>
    <scope>test</scope>
</dependency>
Usage:
var opensearch = new OpensearchContainer(DockerImageName.parse("opensearchproject/opensearch:2.0.0"));
opensearch.start();
Dependency:
go get github.com/opensearch-project/opensearch-testcontainers
Usage:
opensearchContainer, err := opensearch.Run(ctx, "opensearchproject/opensearch:2.11.1")
Dependency:
pip install testcontainers[opensearch]
Usage:
with OpenSearchContainer() as opensearch:
    client = opensearch.get_client()