您的足迹:首页 > 未分类 >docker registry push错误“server gave HTTP response to HTTPS client”

docker registry push错误“server gave HTTP response to HTTPS client”

上传报错
Docker execution failed
  Command line [docker push xxx.xxx.xxx.xxx:5000/xxx:0.0.1-SNAPSHOT] returned:
  Get https://xxx.xxx.xxx.xxx:5000/v1/_ping: http: server gave HTTP response to HTTPS client

解决方法:
在”/etc/docker/“目录下,创建”daemon.json“文件。在文件中写入:
{ "insecure-registries":["192.168.1.100:5000"] }
保存退出后,重启docker即可

本博客所有文章如无特别注明均为原创。作者:admin
版权所有:《电光石火》 => docker registry push错误“server gave HTTP response to HTTPS client”
本文地址:http://www.ilkhome.cn/?post=411
欢迎转载!复制或转载请以超链接形式注明,文章为 admin 原创,并注明原文地址 docker registry push错误“server gave HTTP response to HTTPS client”,谢谢。

相关推荐

版权所有:《电光石火》 => docker registry push错误“server gave HTTP response to HTTPS client”
本文地址:http://www.ilkhome.cn/?post=411
欢迎转载!请注明,文章均为 《电光石火》 原创,并注明本文地址,谢谢。


发表评论

路人甲 表情
看不清楚?点图切换 Ctrl+Enter快速提交

网友评论(0)