Is data persisted in a cassandra droplet?

I am very new to docker and digitalocean. I am running docker-machine and docker run to setup a cassandra droplet. However, I am not sure if this is correct.

Is the data persisted in the droplet somehow or would I loose the data if I have to restart the droplet for some reason? (like if cassandra hangs or sort of)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

All droplets have persistent storage, so if you need to restart a service or the droplet itself you will not lose any data.

The same is true for attaching block volumes, the data is persistent.

You would only lose data if you “destroy” the droplet or the attached volume.

Droplets and block storage are not ephemeral.