2019-10-08 Docker

2019-10-08  本文已影响0人  惜小八

1.拉取镜像时报错 Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshaketimeout

分析是由于下载超时,可以把仓库镜像修改为本地镜像

点击docker镜像小图标,-->preferences-->Daemon-->Registry mirrors,添加国内镜像即可
eg:http://hub-mirror.c.163.com
eg:https://pee6w651.mirror.aliyuncs.com
eg:https://registry.docker-cn.com

点击:Apply&Restart
上一篇 下一篇

猜你喜欢

热点阅读