docker hub切换国内镜像

来源:互联网 发布:java math.random用法 编辑:程序博客网 时间:2024/05/05 12:11

官方docker hub访问非常的慢,安装之后最好先切换国内镜像:

执行:

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://ef017c13.m.daocloud.io


然后再重启:

systemctl restart docker

原创粉丝点击