进入虚拟机
vi /var/lib/boot2docker/profile
编辑在EXTRA_ARGS,加入
--registry-mirror=https://pee6w651.mirror.aliyuncs.com
保存
重启:在window客户端执行shell : docker-machine restart default
进入虚拟机
vi /var/lib/boot2docker/profile
编辑在EXTRA_ARGS,加入
--registry-mirror=https://pee6w651.mirror.aliyuncs.com
保存
重启:在window客户端执行shell : docker-machine restart default
转载于:https://www.cnblogs.com/kingsy/p/6631926.html