search

Home  >  Q&A  >  body text

Regarding the error reported by docker when querying private warehouses

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.

滿天的星座滿天的星座2749 days ago683

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-16 13:19:16

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

    reply
    0
  • Cancelreply