title: Docker Disable legacy registry using osx
body: <p>I've uploaded a Docker image to a internal repository, the push seems to work fine but when i try to pull from it it says:</p>
  
  <pre><code>"{\n  \"errors\" : [ {\n    \"status\" : 400,\n    \"message\" : \"Unsupported docker v1 repository request for 'docker-v2-global-local'\"\n  } ]\n}"
  </code></pre>
  
  <p>After some googling I've come accross the disable legacy registry options which is mentioned in the <a href="https://docs.docker.com/engine/reference/commandline/daemon/" rel="nofollow">docker daemon docs</a>. However trying to set it from the command line results in: </p>
  
  <pre><code>docker: 'daemon' is not a docker command.
  </code></pre>
  
  <p>If I ssh in to my docker-machine and try to update my /var/lib/boot2docker/profile it just gives me this is read only. By this point I'm not even sure that this option will help me but how do I actually set it? </p>
  
  <p>Im using: 
  OSX 10.10.4
  Docker version 1.9.1
  docker-machine version 0.5.3</p>