Can not use registry-mirror

[DEPRECATED SOLUTION FROM BETA 15 ONWARDS]

The proper (and only, I think) way to set daemon options on Docker for Mac (beta) is using the pinata tool.

  • Check current options with:

pinata get daemon

  • Save the output in a daemon.json file
  • Edit the file to hold your mirror settings. Example:

{ "storage-driver":"aufs", "debug":true, "registry-mirrors": [ "http://mymirror.com:5000" ] }

  • Apply these settings:

pinata set daemon @daemon.json