Cassandra – Docker run example for Cassandra version 2.1 with PropertyFileSnitch

sudo docker run -d -v /mnt/ramdisk/:/var/lib/cassandra/ -e CLUSTER_NAME=TEST -e CASSANDRA_ENDPOINT_SNITCH=PropertyFileSnitch -p 9160:9160 -p 9042:9042 -p 7199:7199 --name cassandra-test cassandra:2.1
Advertisements
This entry was posted in cassandra, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s