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

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐