首页 > Web开发 > 详细

docker registry错误server gave HTTP response to HTTPS client

时间:2021-07-08 00:10:34      阅读:18      评论:0      收藏:0      [点我收藏+]

/etc/docker/daemon.json
{ "insecure-registries":["myregistry.example.com:5000"] }

或者使用 --insecure-registry flag
--insecure-registry=myip:5000

sudo service docker restart

https://github.com/distribution/distribution/issues/1874#:~:text=According to the https%3A%2F%2Fdocs.docker.com%2Fregistry%2Finsecure%2F%23deploy-a-plain-http-registry - message http%3A server,is invalid%2C ignore the error about the certificate.

docker registry错误server gave HTTP response to HTTPS client

原文:https://www.cnblogs.com/leoric/p/14945395.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!