On the Problem of docker Querying Private Stores and Reporting Errors

  docker, question

Error response from daemon: invalid registry endpointhttps:// …Gethttps:// …dial tcp getsockopt: connection refused. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add--insecure-registry 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/

I created the private warehouse of the successful docker, and then executed the command of Docker Search 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 …