docker pull xxx.xxx.com
Error: Invalid registry endpoint https://dl.dockerpool.com:5000/v1/: Get dockerpool.com:5000/v1/: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry http://www.dockerpool.com:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/dockerpool.com:5000/ca.

意思就是无法从https下载镜像。

需要加个配置

vim /usr/lib/systemd/system/docker.service

按i编辑模式,输入以下

ExecStart=/usr/bin/docker --insecure-registry x.x.x.x -H fd://

按ESC 然后按: 输入wq 保存


service docker restart 重启docker


Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐