Docker configuration accelerator under win7

1. docker-machine ssh default (sometimes can be omitted)

2.sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http://d7e77b19.m.daocloud.io |g" /var/lib/boot2docker/profile

3.exit

4.docker-machine restart default

(http://d7e77b19.m.daocloud.io should be replaced with your acceleration address)

Restart and the following message appears:

Solution:

5.docker-machine env default

6. At this point, it is much faster to use docker pull images.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324804692&siteId=291194637