关于docker查询私有仓库报错的问题
滿天的星座
滿天的星座 2017-05-16 13:17:16
0
1
629

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 的命令,就报了上面的错误,请问各路大佬,有何解决办法。

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

滿天的星座
滿天的星座

全部回复(1)
Peter_Zhu

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

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!