搜索

首页  >  问答  >  正文

关于docker查询私有仓库报错的问题

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

我创建成功docker的私有仓库,然后执行docker docker search 192.168.254.130:5000/test 的命令,就报了上面的错误,请问各路大佬,有何解决办法。

网上的教程试过,没成功,不知道是自己的操作的姿势不对还是本人脸黑的原因。

滿天的星座滿天的星座2782 天前713

全部回复(1)我来回复

  • 天蓬老师

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

    好像是证书未信任,参考官网资料 https://docs.docker.com/regis...

    回复
    0
  • 取消回复