Short Description
Cassandra
+ssh
+curl
Full Description
Supported tags and respective Dockerfile links
How to use this image
Start a cassandra server instance
$ docker run -d -P -v /root/.ssh --name c1 nohhyun/cassandra:2.2.4
-d
is for running the container in daemon mode.-P
forwards all the exposed ports to the docker-machine.-v /root/.ssh
is to create a directory to later mount your keys for ssh access.--name c1
is the name of the container instance.
Create a cassandra cluster
After starting a cassandra server instance, simple add more instance by:
$ docker run -d -P -v /root/.ssh --name c2 --link c1:cassandra nohhyun/cassandra:2.2.4
--link c1:cassandra
updates the /etc/hosts to allow the new container instance to create alias to accessingc1
.