This guide describes how to deploy a single-node TiKV cluster using Docker Compose, or a multi-node TiKV cluster using Docker Swarm.
PingCAP (the original authors of TiKV, and a maintaining organization of TiKV), develops and maintains the Apache 2 licensed TiDB docker-compose. TiDB docker-compose is a collection of Docker Compose files which enable you to quickly ‘test drive’ TiKV as well as TiDB, TiSpark, and the monitoring tools.
TiDB docker-compose is compatible with Linux as well as Mac and Windows through Docker Desktop.
We recommend using the Docker Swarm option option for using TiKV. If your Docker service is not able to support Swarm, the normal Docker Compose option requires some manual configuration to interact with TiKV directly on non-Linux systems.