http: server gave HTTP response to HTTPS client解决方案:
-
修改docker配置
编辑daemon.json文件,添加以下内容:
sudo vim /etc/docker/daemon.json
{ "insecure-registries": ["ip:port"] }
ip: docker私有参考ip地址
port:端口号
使配置生效:
sudo systemctl daemon-reload
重启docker:
sudo service docker restart
-
启动minikube的时,使用--insecure-registry启动
minikube start --insecure-registry 'ip:port'