Skip to content

Instantly share code, notes, and snippets.

@paurakhsharma
Last active June 30, 2019 12:50
Show Gist options
  • Save paurakhsharma/68f2afc7516ff0694f57c084180cf672 to your computer and use it in GitHub Desktop.
Save paurakhsharma/68f2afc7516ff0694f57c084180cf672 to your computer and use it in GitHub Desktop.
Run cassendra easily in your docker environment.

Run cassendra using docker

First of all install docker and then follow the following steps:

  1. Create a network for cassendra docker network create some-network

  2. Pull and start cassendra server instance docker run --name some-cassandra --network some-network -d cassandra:latest

  3. Connect to cassendra from cqlsh docker run -it --network some-network --rm cassandra cqlsh some-cassandra

Thats it, enjoy 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment