Originally has a special has a source from the Docker accelerator, the company's computer is a Mac, configuration is very simple, but my own computer is Win7, in the actual operation of the time is really tired ah, the official website of the tutorial do not know why did not effect, so eventually still find other people posted posts, may I open the wrong way, But finally set up, record the following bar.
Operation Steps:
1. First go to the directory of your own corresponding Docker
2. Type docker-machine ssh default and go inside the virtual machine
3. Set Accelerator address
sudo sed-i "s| Extra_args= ' | Extra_args= '--registry-mirror= ' Here is your accelerator address "|g"/var/lib/boot2docker/profile
4. Exit and restart the virtual machine to make it effective
Exit
Docker-machine Restart Default
Docker-machine env Default
Win7 setting up a Docker accelerator