Re: Data not persisted in Cassandra docker

2020-03-09 Thread Cedrick Lunven
Hi, here is a sample docker-compose.yaml for what you need. version: '2' services: cassandra: image: cassandra:3.11.5 ports: - 7000:7000 - 7001:7001 - 7199:7199 - 9042:9042 - 9160:9160 ulimits: memlock: -1 volumes: -

Re: Data not persisted in Cassandra docker

2020-03-09 Thread Hannu Kröger
You need to mount volumes from the host system or docker volumes to container to have data persisted. See section "Where to Store Data” in https://hub.docker.com/_/cassandra Hannu > On 9. Mar 2020, at 11.25, Valentina Ivanova wrote: > > Hello! > > I am

Data not persisted in Cassandra docker

2020-03-09 Thread Valentina Ivanova
Hello! I am using Cassandra 3.11.5 from docker. I created a keyspace and a table in it and inserted some data into the table. Before stopping the container I executed nodetool flush to persist the data. However, upon starting the container after the weekend, the keyspace, table and data were