How to run firestore emulator from docker and have data persist

  docker, firebase, google-cloud-firestore

I have tried several things here. I have run things like or just the official google sdk image. The problem is those don’t seem to have a way of persisting data. The firebase tools seem to have this functionality but require that I login. I would like to run the firestore emulator in docker and have the data persist. thoughts?

Source: Docker Questions