Skip to main content
Version: latest

Docker

Docker allows you to install a CnosDB instance on any local system, which is the easiest way to install CnosDB.

Start a standalone instance using Docker

docker run --name cnosdb -p 8902:8902 -d cnosdb/cnosdb:community-latest

Start a cluster using Docker

To quickly get started, we have written an example using Docker Compose to quickly start a CnosDB cluster.

  1. Clone Repository
git clone https://github.com/cnosdb/distributed-sandbox.git
  1. Starting the cluster
cd distributed-sandbox
chmod +x ./setup.sh
./setup.sh