title: docker container / image not saving changes
body: <p>I pulled a MySQL docker(latest) &amp; after running it I am trying to commit my container after adding some Data &amp; New Schema's &amp; tables in this mysql docker instance.</p>
  
  <p>For Reference i am following this link -> <a href="http://www.servermom.org/pull-docker-images-run-docker-containers/3225/" rel="nofollow noreferrer">http://www.servermom.org/pull-docker-images-run-docker-containers/3225/</a></p>
  
  <p>But even after trying with multiple variations i am not achieving what i intend to. So what i am doing is after adding new tables and schema to my container i am committing &amp; pushing to Docker hub as mentioned in the link. </p>
  
  <p>After that i am deleting deleting the 1st pulled image as i have added new data to a container and committed as a new image with a different Tag .. i am deleting the 1st pulled image. (The reason i am doing this is because lets say if i am changing my machine i can get my data intact when i do a docker pull of my committed image)</p>
  
  <p>Just like git if i commit &amp; push and lets say my machine broke down so in the new machine i just have to do a git pull and i will get everything without any loss. So i am not able to understand how any why docker is not saving changes</p>