Description
Couchbase is an open-source, distributed, multi-model, document oriented, NoSQL database.Examples
Dependency:
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>couchbase</artifactId>
<version>1.20.0</version>
<scope>test</scope>
</dependency>
Usage:
var couchbase = new CouchbaseContainer(DockerImageName.parse(
"couchbase/server:community-7.0.2"
));
couchbase.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/couchbase
Usage:
couchbaseContainer, err := couchbase.Run(ctx,
"couchbase/server:community-7.0.2",
couchbase.WithBucket(couchbase.NewBucket("bucketName")),
)
Dependency:
dotnet add package Testcontainers.Couchbase --version 3.9.0
Usage:
var couchbaseContainer = new CouchbaseBuilder()
.WithImage("couchbase:community-7.0.2")
.Build();
await couchbaseContainer.StartAsync();
Dependency:
npm install @testcontainers/couchbase --save-dev
Usage:
const container = await new CouchbaseContainer().start();