Documentation

Go Node.js

Description

Valkey is an open source (BSD) high-performance key/value datastore that supports a variety of workloads such as caching, message queues, and can act as a primary database. Valkey can run as either a standalone daemon or in a cluster, with options for replication and high availability.

Examples

Dependency:
go get github.com/testcontainers/testcontainers-go/modules/valkey
Usage:
valkeyContainer, err := valkey.Run(context.Background(), "docker.io/valkey/valkey:7.2.5")
Dependency:
npm install @testcontainers/valkey --save-dev
Usage:
const container = await new ValkeyContainer("valkey/valkey:8.0").start();