搭建docker私有仓库遇到:Docker repository server gave HTTP response to HTTPS client
在搭建完docker私有仓库,向私有仓库推送镜像时遇到了这个问题.解决办法:在/etc/docker/目录下创建daemon.json文件,在填入以下内容:{"insecure-registries":["xxx.xx.xx.xx:5000"]}如果是多台机器,则逗号群分开来{"insecure-registries":["xxx.xx.xx.xx:5000","xxx.xx.xx.xx:5000