How to create docker registry mirror
I use MAC OS X.And I want to use mirror in this tutorial , its step 1 is need to do this: docker --registry-mirror=http://<my-docker-mirror-host> -d But, when I use this command in terminal, it did't work: flag provided but not defined: --registry-mirror See 'docker --help'. then, I use the other way in tutorial: you may be able to add the --registry-mirror options to the DOCKER_OPTS variable in /etc/default/docker I don't know where to add this DOCKER_OPTS. I want to use mirror in client 1.7.0. Can anyone tell me how to set up the mirror?. I use this command to create mirror: docker run -d -p