Public Repository

Last pushed: 3 years ago
Short Description
Based on poklet/cassandra but with PasswordAuthenticator and CassandraAuthorizer
Full Description

This image is based on poklet/cassandra, additionally enabling Cassandra authentication and authorization.


docker run -d --name cassandra \
    -p 9042:9042 \ # or just plain -P
docker exec -ti cassandra /bin/bash
$ cqlsh -u cassandra -p cassandra
cqlsh> alter user cassandra with password 'new';
cqlsh> create keyspace dev
  with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
cqlsh> create user developer with password 'pass';
cqlsh> grant all on keyspace dev to developer;

Check pokle/cassandra on GitHub for other options.

Source respository on GitHub.

Docker Pull Command