Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Open Source. Switch to the latest stable version.
Each ScyllaDB version is available as a Docker image you can use to create a ScyllaDB container.
Running ScyllaDB in Docker is the simplest way to experiment with ScyllaDB in non-production environments. In production environments, additional tuning is required to run a stateful container and maximize performance; follow Best Practices for Running ScyllaDB on Docker.
Download and install Docker from the Docker website.
Download the ScyllaDB image from DockerHub (the latest stable ScyllaDB version will be downloaded):
docker pull scylladb/scylla
To start a one-node ScyllaDB instance:
docker run --name scylla -d scylladb/scylla
To add more nodes:
docker run --name scylla-node2 -d scylladb/scylla --seeds="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' scylla)"
docker run --name scylla-node3 -d scylladb/scylla --seeds="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' scylla)"
To verify that the cluster is up and running:
docker exec -it scylla nodetool status
To start cqlsh to interact with ScyllaDB:
docker exec -it scylla cqlsh
Documentation for the ScyllaDB Docker image on DockerHub.
Best Practices for Running ScyllaDB on Docker in the ScyllaDB documentation.
Quick Wins Lab using Docker on ScyllaDB University.
ScyllaDB on Docker blog post.
Was this page helpful?