进入 docker-machine

docker-machine ssh [your machine name]

然后

echo "EXTRA_ARGS=\"--registry-mirror=http://e69374c5.m.daocloud.io\"" >> /var/lib/boot2docker/profile

registry-mirror后面跟 docker 镜像地址,用阿里云,daocloud,或者其它的都行