title: Proper method of moving Docker's data
body: <p>So this is mind-boggling that as prevalent as Docker is, that you can spend hours reading and still not have any idea of the official proper method of one of the first config steps - moving the actual Docker data from /var/lib/docker.  I myself have used the good old mv and ln but now see references to that being a no-no which made me read up and ultimately think it warrants one place on S.O. once and for all to duke this out....</p>
  
  <p>Just a couple of the many seemingly official methods widely used today:</p>
  
  <p>IBM says use rbind mounting:</p>
  
  <p><a href="https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/installing/docker_dir.html" rel="nofollow noreferrer">https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/installing/docker_dir.html</a></p>
  
  <p>This EDU nicely lists another of the most common methods of rsync and ln:</p>
  
  <p><a href="https://opensource.ncsa.illinois.edu/confluence/pages/viewpage.action?pageId=114130966" rel="nofollow noreferrer">https://opensource.ncsa.illinois.edu/confluence/pages/viewpage.action?pageId=114130966</a></p>
  
  <p>This link nicely lays out taking a totally different approach of attempting to instead alter all the inner workings of Docker itself to point elsewhere:</p>
  
  <p><a href="https://www.rb-associates.co.uk/blog/move-var-lib-docker-to-another-directory/" rel="nofollow noreferrer">https://www.rb-associates.co.uk/blog/move-var-lib-docker-to-another-directory/</a></p>
  
  <p>So, the question is, which (if any) of these three is correct and what are the major pros/cons folks have come across using each?  For example, I see several references to rsync'ing and to avoid moving existing due to Docker's hardlinks and excessive data duplication, but then would that also be an issue in the mount scenario?  You get the idea - what are your experiences.  I'll be trusting the public's upvoting a bit more on this question to determine which is the most widely trusted method in use.</p>