First of all install docker and then follow the following steps:
-
Create a network for cassendra
docker network create some-network
-
Pull and start cassendra server instance
docker run --name some-cassandra --network some-network -d cassandra:latest
-
Connect to cassendra from cqlsh
docker run -it --network some-network --rm cassandra cqlsh some-cassandra
Thats it, enjoy 🚀