【异常解决】(二)解决docker报错Error response from daemon: Get... http: server gave HTTP response to HTTPS

场景:本机个人电脑Windows系统安装了docker客户端,远程Linux服务器部署了镜像仓库,远程仓库可以接收别的服务器的镜像推送,但接收本机电脑镜像时失败(实际为推送失败)。使用docker login XXXX:XX:XX:XX:8081命令登录时,报错
Error response from daemon: Get “https://XXXX:XX:XX:XX:8081/v2/”: http: server gave HTTP response to HTTPS client

解决方案:
如图,修改docker配置,ip为远程仓库ip+端口,并点击重启docker
【异常解决】(二)解决docker报错Error response from daemon: Get... http: server gave HTTP response to HTTPS_第1张图片
【异常解决】(二)解决docker报错Error response from daemon: Get... http: server gave HTTP response to HTTPS_第2张图片

你可能感兴趣的:(docker,docker,http,linux)