title: Enable Thrift in Cassandra Docker
body: <p>I'm trying to start up a docker image that runs cassandra. I need to use thrift to communicate with cassandra, but it looks like that's disabled by default. Checking out the cassandra logs shows:</p>
  
  <pre><code>INFO  21:10:35 Not starting RPC server as requested. 
    Use JMX (StorageService-&gt;startRPCServer()) or nodetool (enablethrift) to start it
  </code></pre>
  
  <p>My question is: how can I enable thrift when starting this cassandra container?</p>
  
  <p>I've tried to set various environment variables to no avail:</p>
  
  <pre><code>docker run --name cs1 -d -e "start_rpc=true" cassandra
  docker run --name cs1 -d -e "CASSANDRA_START_RPC=true" cassandra
  docker run --name cs1 -d -e "enablethrift=true" cassandra
  </code></pre>