Docker images are read only. When we instantiate a container from an image, the processes hosted in the container are able to write on disk, but those changes do not survive container restart. There are plenty of docker containers hosting databases services like Sql Server: https://hub.docker.com/r/microsoft/mssql-server-windows/
Doesn't the read only nature of Docker images defeat the purpose of durable databases? What do I see wrong?
Btw, I see great usability of this read-only nature in automated tests (no need to roll back), but that is not the primary use of a db.