docker build 的时候报错
docker build -t ratsql .
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa39d852a90>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/entmax/
原因:
默认镜像下载速度很慢的原因
解决办法:
在docker engine的配置文件里面增加下载路径
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://registry.docker-cn.com",
"https://cr.console.aliyun.com/"