docker 报错docker server gave HTTP response to HTTPS client

  1. 编辑  /etc/docker/daemon.json 文件

      添加

{ "insecure-registries":["myregistry.example.com:5000"] }

  2.重启docker

  

systemctl restart docker

 

posted @ 2019-07-30 10:53  Aprilnn  阅读(802)  评论(0编辑  收藏  举报