title: What happen to docker volume on deletion of container
body: <p>Suppose i have these volumes in my Mysql Docker container</p>
  
  <p><code>VOLUME  ["/etc/mysql", "/var/lib/mysql"]</code></p>
  
  <p>Now that is running fine in production.</p>
  
  <p>Then i made some changes in the mysql image and i want to deploy that in production.</p>
  
  <p>Correct me if i am wrong</p>
  
  <ol>
  <li>I have to build the new container from the updated mysql image</li>
  <li>I need to delete the old conatiner so i will stop that and delete it.</li>
  <li>Then i need to create the new mysql container with same name so that other webserver using the database can use it.</li>
  </ol>
  
  <p>Now my question is won't docker delete all the mysql data once i delete the conatiner.</p>