title: Databases transferred with Docker Images
body: <p>I have a docker container and image that are running on a local server and public server through digital ocean (same question for a AWS server). If the running image on the digital ocean server creates a database, is it linked to the image so that if i update the image, the intial data is lost? or is databases not linked to docker images so that if i update the docker image, none of the data in the database is lost? can anyone help me figure this out. I can't fund anything online that answers my question.</p>