docker-library / cassandra

Docker Official Image packaging for Cassandra
Apache License 2.0
262 stars 281 forks source link

Unable to start latest cassandra. #204

Closed manojvai closed 4 years ago

manojvai commented 4 years ago

I am able to run cassandra:3.0.18 on openshift without any issue but with the latest version (3.11.6), it throws below error:

Running Cassandra as root user or group is not recommended - please start Cassandra using a different system user.

  | If you really want to force running Cassandra as root, use -R command line option.

How to go around this issue?

yosifkit commented 4 years ago

| If you really want to force running Cassandra as root, use -R command line option.

So pass -R to the command:

$ docker run --name some-cassandra -it --rm --user cassandra:0 cassandra:3.11.6 -R