title: Saving changes in docker project
body: <p>I just started a django project with docker, I used the <a href="https://github.com/pydanny/cookiecutter-django" rel="nofollow noreferrer">cookiecutter-django template</a> that is discussed in the book Two scoops of django.</p>
  <p>I am trying to set it all up in OSX, but I am having some trouble with the <a href="https://cookiecutter-django.readthedocs.org/en/latest/developing-locally-docker.html#prerequisites" rel="nofollow noreferrer">following part</a> from the documentation:</p>
  <blockquote>
  <p>Saving changes</p>
  <p>If you are using OS X or Windows, you need to create a
  /data partition inside the virtual machine that runs the docker deamon
  in order make all changes persistent. If you don’t do that your /data
  directory will get wiped out on every reboot. To create a persistent
  folder, log into the virtual machine by running:</p>
  <p>$ docker-machine ssh dev1</p>
  <p>$ sudo su</p>
  <p>$ echo 'ln -sfn /mnt/sda1/data /data' &gt;&gt;
  /var/lib/boot2docker/bootlocal.sh</p>
  </blockquote>
  <p>However, if I execute these commands, and try to start my docker project, I get the following error:</p>
  <p>ERROR: Cannot start container 182a38022fbdf65f7a64f1ca5475a3414084d11c91f1cb48bffc6f76491baf4a: mkdir /data: file exists</p>
  <p>I'm quite stuck at this point, do you guys have an idea what I could do to get this up and running?</p>