PRIMARY KEY (publisher, issue, isbn) /bin/ping -c1 -D -W5 www.linux-magazin.de | /home/jcb/Cassandra/pingtest.pl perl -MCPAN -e shell install Cassandra::Client CREATE TABLE pingtime (tstamp timestamp, tvalue float, PRIMARY KEY(tvalue, tstamp) ) WITH default_time_to_live = 259200 AND CLUSTERING ORDER BY (tstamp DESC); #ExecStart=/usr/bin/dockerd -H fd:// ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375 systemctl daemon-reload service docker restart curl http://localhost:2375/version export DOCKER_HOST=localhost:2375 docker-compose up -d command. $ cqlsh -uadmin 172.21.0.2 9042 CREATE KEYSPACE pingtest WITH replication = {'class':'SimpleStrategy','replication_factor':3};