docker 用起来真是慢啊。看到灵雀云有国内的镜像可以加速。但是只给出了boot2docker的用法。
boot2docker ssh sudo "sh -c \"echo EXTRA_ARGS=\'--registry-mirror=http://yijian.m.alauda.cn\' >> /var/lib/boot2docker/profile\""
boot2docker restart
docker toolbox如何用?
天蓬老师2017-04-22 09:01:16
daocloud accelerator supports toolbox
Run the installation command (under Docker ToolBox, you can use docker-machine ssh default to enter the terminal, and for boot2docker, you can use boot2docker ssh)
curl -sSL https://get.daocloud.io/daomonit/install.sh | sh -s 5aeb045389849b3771265c76b64a829966622f30
Just register an account and you will know
怪我咯2017-04-22 09:01:16
docker-machine create -h
I can find a parameter inside --engine-registry-mirror [--engine-registry-mirror option --engine-registry-mirror option] Specify registry mirrors to use
You should be able to specify this parameter when docker-machine create