I am new to Docker and have just got a taste of how volatile things are when I had to downgrade Docker for Windows to a previous version to get port forwarding to localhost working again (as per this issue).
I intend to run postgresql in a container and use an data volume to persist the db’s data independently from the container.
Having had to update (in this case backwards) the engine I notices the Moby VM gets destroyed and re-created which effectively means everything in it (including the data volumes) evaporates.
That seems impossibly scary!
Am I missing something here? How does one set up a persistent data volume that lives across Docker engine updates?
Thanks in advance