docker registry错误server gave HTTP response to HTTPS client

时间:2021-07-08 00:10:34   收藏:0   阅读:23

/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.

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!