Skip to content

Kong/docker-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Cassandra Dockerfile

A Docker image for running a single-node Cassandra cluster.

How to use this image

To start a container running this image:

$ docker run -d -p 9042:9042 --name cassandra mashape/cassandra

This container will expose your cluster on your host port 9042, the default Cassandra port.

Using a custom Cassandra configuration

This container stores the Cassandra configuration (usually in /etc/cassandra/) in a Data Volume. You can mount this volume from your host machine by doing so:

$ docker run -d \
    -v /path/to/your/etc/cassandra/:/etc/cassandra \
    -p 9042:9042 \
    --name cassandra \
    mashape/cassandra

Data storage

This container also stores the actual storage data (usually in /var/lib/cassandra/) in a Data Volume. You can mount this volume from your host machine by doing so:

$ docker run -d \
    -v /path/to/your/var/lib/cassandra/:/var/lib/cassandra \
    -p 9042:9042 \
    --name cassandra \
    mashape/cassandra

User Feedback

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Releases

No releases published

Packages

No packages published