Docker
Start a Pinot cluster using Docker containers.
Outcome
Start a multi-component Pinot cluster using Docker, suitable for local evaluation and CI environments.
Prerequisites
Docker installed and running
Recommended Docker resource settings:
CPUs: 8
Memory: 16 GB
Swap: 4 GB
Disk image size: 60 GB
Steps
1. Set the image versions
export PINOT_VERSION=1.6.0
export PINOT_IMAGE=apachepinot/pinot:${PINOT_VERSION}
export ZK_IMAGE=zookeeper:3.9.5
export KAFKA_IMAGE=apache/kafka:4.0.0See the Version reference page for the current stable release.
2. Pull the Pinot image
View all available tags on Docker Hub.
3. Start the cluster
Create a file called docker-compose.yml with the following content:
Launch the cluster:
To also start Kafka for real-time streaming:
Create a network
Start ZooKeeper
Start Pinot Controller
Start Pinot Broker
Start Pinot Server
Start Pinot Minion (optional)
Start Kafka (optional)
Kafka 4.0 runs in KRaft mode and does not require ZooKeeper:
Verify
Check that all containers are running:
You should see containers for ZooKeeper, Controller, Broker, Server, and Minion all in a healthy state. Open the Pinot Query Console at http://localhost:9000 to confirm the cluster is ready.
Docker image versions
Pinot Docker images now target JDK 25 runtimes. The latest tag promotes the 25-ms-openjdk runtime, and latest-25 plus versioned -25 tags remain available for explicit pinning.
Pinot no longer publishes *-21-* service image tags. If you are pinned to apachepinot/pinot:latest-21-amazoncorretto, apachepinot/pinot:latest-21-ms-openjdk, or similar versioned *-21-* tags, move to a *-25-* tag before upgrading.
Next step
Your cluster is running. Continue to First table and schema to load data.
Last updated
Was this helpful?

