Skip to content

Pinecone

Testcontainers module for Pinecone Local.

PineconeLocalContainer's usage examples

You can start a Pinecone container instance from any Java application by using:

PineconeLocalContainer container = new PineconeLocalContainer("ghcr.io/pinecone-io/pinecone-local:v0.7.0")

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

testImplementation "org.testcontainers:pinecone:1.20.6"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>pinecone</artifactId>
    <version>1.20.6</version>
    <scope>test</scope>
</dependency>