版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_42528266/article/details/102869951
Docker中REGISTER仓库有些类似Maven的中央仓库.我们通过类似Git中的pull和push命令从REGISTER仓库中拉取镜像和推送镜像.
Docker Hub https://hub.docker.com/
docker search [OPTIONS] TERM
docker pull [OPTIONS] NAME [:TAG]
https://www.daocloud.io/mirror#accelerator-doc
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://a7775d97.m.daocloud.io
sudo systemctl restart docker
docker pull ubuntu:12.10
我们会发现明显速度已经提升很多了.
docker push 镜像名.
docker push lanxw0720/commit_test1