docker pull 出现http: server gave HTTP response to HTTPS client

docker配置文件中没有添加仓库地址

vi /etc/docker/daemon.json
//添加字段
//添加对应仓库的ip和port
{ "insecure-registries":["ip:port", "ip:port"] }

你可能感兴趣的:(docker pull 出现http: server gave HTTP response to HTTPS client)