Regarding the error reported by docker when querying private warehouses
滿天的星座
滿天的星座 2017-05-16 13:17:16
0
1
623

Error response from daemon: invalid registry endpoint https://192.168.254.130:5000/... Get https://192.168.254.130:5000/... dial tcp 192.168.254.130:5000: getsockopt : connection refused. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry 192.168.254.130: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/192.168.254.130:5000/ca.crt

I successfully created a docker private warehouse, and then executed the docker docker search 192.168.254.130:5000/test command, and the above error was reported. I would like to ask all the experts about the solution.

I tried online tutorials but failed. I don’t know if it’s because my posture is wrong or because I have a dark face.

滿天的星座
滿天的星座

reply all(1)
Peter_Zhu

It seems that the certificate is not trusted. Please refer to the official website for information https://docs.docker.com/regis...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!