docker镜像加速
作者:互联网
1、首先通过https://account.daocloud.io/signin注册一个账号,并登陆。
<style></style>
2、点击右上角加速器生成配置参数
3.复制配置参数直接运行
[root@iZ2zeddpan0zmbyn4shevdZ ~]# curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io docker version >= 1.12 {"registry-mirrors": ["http://f1361db2.m.daocloud.io"]} Success. You need to restart docker to take effect: sudo systemctl restart docker [root@iZ2zeddpan0zmbyn4shevdZ ~]#
4.重启Docker
[root@iZ2zeddpan0zmbyn4shevdZ ~]# systemctl restart docker
标签:iZ2zeddpan0zmbyn4shevdZ,io,镜像,docker,daocloud,root,加速,restart 来源: https://www.cnblogs.com/Carr/p/12096684.html