FATA[0004] Error response from daemon: v1 ping attempt failed with error: Get https://10.8.8.127:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 10.8.8.127: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/10.8.8.127:5000/ca.crt 


解决方法:

修改docker的配置文件/etc/default/docker,添加下面的内容,

    DOCKER_OPTS="--insecure-registry xxx.xxx.xxx.xxx:5000"

然后重启docker后台进程,

$ sudo service docker restart

就OK了。

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐