On the Problem of docker Querying Private Stores and Reporting Errors

  docker, question

Error response from daemon: invalid registry endpointhttps://192.168.254.130:5000/ …Gethttps://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:5000to 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 created the private warehouse of the successful docker, and then executed the command of Docker Search 192.168.254.130: 5000/Test. I reported the above error. May I ask all leaders what is the solution?

The online tutorials have been tried but failed. I don’t know whether it is the wrong posture of my operation or the reason why my face is black.

It seems that the certificate is not trusted. Please refer to the official websitehttps://docs.docker.com/regis …