docker run --name pipercass -p 9042:9042 -d cassandra:latest
If you already created pipercass container, you can start it with:
docker start pipercass
if you want to run Cassandra shell to view tables and data, you can run:
docker exec -it pipercass cqlsh
you can view tables with:
describe tables;
if you want to view data in a table, you can run:
select * from <keyspace>.<table_name>;
6